java.lang.Object
com.s8.api.flow.repository.requests.ForkRepositoryS8Request
A Request object to fork repository.
- Author:
- Pierre Convert Copyright (C) 2025, Pierre Convert. All rights reserved.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
Callback method run upon failed request execution.abstract void
onResponded
(ForkRepositoryS8Request.Status status, long version) Callback method run upon successful request execution.
-
Field Details
-
originRepoAddress
The address of the origin repository -
originBranchId
the origin branch id -
originBranchVersion
public final long originBranchVersionThe origin branch version -
targetRepositoryAddress
The target repository address -
targetRepositoryName
The target repository name -
targetRepositoryInfo
The target repository info
-
-
Constructor Details
-
ForkRepositoryS8Request
public ForkRepositoryS8Request(String originRepoAddress, String originBranchId, long originBranchVersion, String targetRepositoryAddress, String targetRepositoryName, String targetRepositoryInfo) Main constructor- Parameters:
originRepoAddress
- the orgin repository addressoriginBranchId
- the origin branch idoriginBranchVersion
- the origin branch versiontargetRepositoryAddress
- the target repository addresstargetRepositoryName
- the target repository nametargetRepositoryInfo
- the target repository info
-
-
Method Details
-
onResponded
Callback method run upon successful request execution.- Parameters:
status
- the status returnedversion
- the verion returned
-
onFailed
Callback method run upon failed request execution.- Parameters:
exception
- the exception raised
-