java.lang.Object
com.s8.api.flow.repository.requests.CommitBranchS8Request
A Request object to commit a branch on a repository.
- Author:
- Pierre Convert Copyright (C) 2025, Pierre Convert. All rights reserved.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringThe authod of the commitfinal StringThe request target branch idfinal StringThe comment along the commitfinal RepoS8Object[]The request committed objectsfinal StringThe request target repository address -
Constructor Summary
ConstructorsConstructorDescriptionCommitBranchS8Request(String repositoryAddress, String branchId, RepoS8Object[] objects, String author, String comment) Main constructor -
Method Summary
Modifier and TypeMethodDescriptionabstract voidCallback method run upon failed request executionabstract voidonResponse(CommitBranchS8Request.Status status, long version) Callback method run upon successful request execution
-
Field Details
-
repositoryAddress
The request target repository address -
branchId
The request target branch id -
objects
The request committed objects -
author
The authod of the commit -
comment
The comment along the commit
-
-
Constructor Details
-
CommitBranchS8Request
public CommitBranchS8Request(String repositoryAddress, String branchId, RepoS8Object[] objects, String author, String comment) Main constructor- Parameters:
repositoryAddress- the repository addressbranchId- the branch idobjects- the objectsauthor- the authorcomment- the comment
-
-
Method Details
-
onResponse
Callback method run upon successful request execution- Parameters:
status- the response statusversion- the requested version
-
onFailed
Callback method run upon failed request execution- Parameters:
exception- the exception raised during processing
-