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 String
The authod of the commitfinal String
The request target branch idfinal String
The comment along the commitfinal RepoS8Object[]
The request committed objectsfinal String
The request target repository address -
Constructor Summary
ConstructorsConstructorDescriptionCommitBranchS8Request
(String repositoryAddress, String branchId, RepoS8Object[] objects, String author, String comment) Main constructor -
Method Summary
Modifier and TypeMethodDescriptionabstract void
Callback method run upon failed request executionabstract void
onResponse
(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
-