java.lang.Object
com.s8.api.flow.repository.requests.GetBranchMetadataS8Request
A Request object to get the metadata of 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
ConstructorsConstructorDescriptionGetBranchMetadataS8Request
(String repositoryAddress, String branchId) Main constructor. -
Method Summary
Modifier and TypeMethodDescriptionabstract void
Callback method run upon failed request execution.abstract void
onSucceed
(GetBranchMetadataS8Request.Status status, S8BranchMetadata metadata) Callback method run upon successful request execution.
-
Field Details
-
repositoryAddress
The address of the repository -
branchId
the branch id
-
-
Constructor Details
-
GetBranchMetadataS8Request
Main constructor.- Parameters:
repositoryAddress
- the repository addressbranchId
- the branch id
-
-
Method Details
-
onSucceed
Callback method run upon successful request execution.- Parameters:
status
- the status returnedmetadata
- the data returned
-
onFailed
Callback method run upon failed request execution.- Parameters:
exception
- the exception raised during request execution
-