java.lang.Object
com.s8.api.flow.repository.requests.CloneBranchS8Request
A Request object to clone a branch of a repository.
- Author:
- Pierre Convert Copyright (C) 2025, Pierre Convert. All rights reserved.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCloneBranchS8Request
(String repositoryAddress, String branchId) Secondary constructor with default valueCloneBranchS8Request
(String repositoryAddress, String branchId, long version) Main constructor -
Method Summary
Modifier and TypeMethodDescriptionabstract void
Callback run upon failed request executionabstract void
onResponse
(CloneBranchS8Request.Status status, Object[] objects) Callback run upon successful request execution
-
Field Details
-
repositoryAddress
the repository address -
branchId
the branch id -
version
public final long versionthe targeted version
-
-
Constructor Details
-
CloneBranchS8Request
Main constructor- Parameters:
repositoryAddress
- the repository addressbranchId
- the branch idversion
- the version of the branch from which cloning must be done
-
CloneBranchS8Request
Secondary constructor with default value- Parameters:
repositoryAddress
- the target repository idbranchId
- the target branch id
-
-
Method Details
-
onResponse
Callback run upon successful request execution- Parameters:
status
- Request response statusobjects
- The cloned objects
-
onError
Callback run upon failed request execution- Parameters:
exception
- the raised exception
-