public interface AWSCodeCommitAsync extends AWSCodeCommit
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
This is the AWS CodeCommit API Reference. This reference provides descriptions of the AWS CodeCommit API.
You can use the AWS CodeCommit API to work with the following objects:
For information about how to use AWS CodeCommit, see the AWS CodeCommit User Guide.
Modifier and Type | Method and Description |
---|---|
Future<BatchGetRepositoriesResult> |
batchGetRepositoriesAsync(BatchGetRepositoriesRequest batchGetRepositoriesRequest)
Gets information about one or more repositories.
|
Future<BatchGetRepositoriesResult> |
batchGetRepositoriesAsync(BatchGetRepositoriesRequest batchGetRepositoriesRequest,
AsyncHandler<BatchGetRepositoriesRequest,BatchGetRepositoriesResult> asyncHandler)
Gets information about one or more repositories.
|
Future<Void> |
createBranchAsync(CreateBranchRequest createBranchRequest)
Creates a new branch in a repository and points the branch to a commit.
|
Future<Void> |
createBranchAsync(CreateBranchRequest createBranchRequest,
AsyncHandler<CreateBranchRequest,Void> asyncHandler)
Creates a new branch in a repository and points the branch to a commit.
|
Future<CreateRepositoryResult> |
createRepositoryAsync(CreateRepositoryRequest createRepositoryRequest)
Creates a new, empty repository.
|
Future<CreateRepositoryResult> |
createRepositoryAsync(CreateRepositoryRequest createRepositoryRequest,
AsyncHandler<CreateRepositoryRequest,CreateRepositoryResult> asyncHandler)
Creates a new, empty repository.
|
Future<DeleteRepositoryResult> |
deleteRepositoryAsync(DeleteRepositoryRequest deleteRepositoryRequest)
Deletes a repository.
|
Future<DeleteRepositoryResult> |
deleteRepositoryAsync(DeleteRepositoryRequest deleteRepositoryRequest,
AsyncHandler<DeleteRepositoryRequest,DeleteRepositoryResult> asyncHandler)
Deletes a repository.
|
Future<GetBranchResult> |
getBranchAsync(GetBranchRequest getBranchRequest)
Retrieves information about a repository branch, including its name and
the last commit ID.
|
Future<GetBranchResult> |
getBranchAsync(GetBranchRequest getBranchRequest,
AsyncHandler<GetBranchRequest,GetBranchResult> asyncHandler)
Retrieves information about a repository branch, including its name and
the last commit ID.
|
Future<GetRepositoryResult> |
getRepositoryAsync(GetRepositoryRequest getRepositoryRequest)
Gets information about a repository.
|
Future<GetRepositoryResult> |
getRepositoryAsync(GetRepositoryRequest getRepositoryRequest,
AsyncHandler<GetRepositoryRequest,GetRepositoryResult> asyncHandler)
Gets information about a repository.
|
Future<ListBranchesResult> |
listBranchesAsync(ListBranchesRequest listBranchesRequest)
Gets information about one or more branches in a repository.
|
Future<ListBranchesResult> |
listBranchesAsync(ListBranchesRequest listBranchesRequest,
AsyncHandler<ListBranchesRequest,ListBranchesResult> asyncHandler)
Gets information about one or more branches in a repository.
|
Future<ListRepositoriesResult> |
listRepositoriesAsync(ListRepositoriesRequest listRepositoriesRequest)
Gets information about one or more repositories.
|
Future<ListRepositoriesResult> |
listRepositoriesAsync(ListRepositoriesRequest listRepositoriesRequest,
AsyncHandler<ListRepositoriesRequest,ListRepositoriesResult> asyncHandler)
Gets information about one or more repositories.
|
Future<Void> |
updateDefaultBranchAsync(UpdateDefaultBranchRequest updateDefaultBranchRequest)
Sets or changes the default branch name for the specified repository.
|
Future<Void> |
updateDefaultBranchAsync(UpdateDefaultBranchRequest updateDefaultBranchRequest,
AsyncHandler<UpdateDefaultBranchRequest,Void> asyncHandler)
Sets or changes the default branch name for the specified repository.
|
Future<Void> |
updateRepositoryDescriptionAsync(UpdateRepositoryDescriptionRequest updateRepositoryDescriptionRequest)
Sets or changes the comment or description for a repository.
|
Future<Void> |
updateRepositoryDescriptionAsync(UpdateRepositoryDescriptionRequest updateRepositoryDescriptionRequest,
AsyncHandler<UpdateRepositoryDescriptionRequest,Void> asyncHandler)
Sets or changes the comment or description for a repository.
|
Future<Void> |
updateRepositoryNameAsync(UpdateRepositoryNameRequest updateRepositoryNameRequest)
Renames a repository.
|
Future<Void> |
updateRepositoryNameAsync(UpdateRepositoryNameRequest updateRepositoryNameRequest,
AsyncHandler<UpdateRepositoryNameRequest,Void> asyncHandler)
Renames a repository.
|
batchGetRepositories, createBranch, createRepository, deleteRepository, getBranch, getCachedResponseMetadata, getRepository, listBranches, listRepositories, setEndpoint, setRegion, shutdown, updateDefaultBranch, updateRepositoryDescription, updateRepositoryName
Future<BatchGetRepositoriesResult> batchGetRepositoriesAsync(BatchGetRepositoriesRequest batchGetRepositoriesRequest)
Gets information about one or more repositories.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.
batchGetRepositoriesRequest
- Represents the input of a batch get repositories operation.Future<BatchGetRepositoriesResult> batchGetRepositoriesAsync(BatchGetRepositoriesRequest batchGetRepositoriesRequest, AsyncHandler<BatchGetRepositoriesRequest,BatchGetRepositoriesResult> asyncHandler)
Gets information about one or more repositories.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.
batchGetRepositoriesRequest
- Represents the input of a batch get repositories operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<Void> createBranchAsync(CreateBranchRequest createBranchRequest)
Creates a new branch in a repository and points the branch to a commit.
createBranchRequest
- Represents the input of a create branch operation.Future<Void> createBranchAsync(CreateBranchRequest createBranchRequest, AsyncHandler<CreateBranchRequest,Void> asyncHandler)
Creates a new branch in a repository and points the branch to a commit.
createBranchRequest
- Represents the input of a create branch operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateRepositoryResult> createRepositoryAsync(CreateRepositoryRequest createRepositoryRequest)
Creates a new, empty repository.
createRepositoryRequest
- Represents the input of a create repository operation.Future<CreateRepositoryResult> createRepositoryAsync(CreateRepositoryRequest createRepositoryRequest, AsyncHandler<CreateRepositoryRequest,CreateRepositoryResult> asyncHandler)
Creates a new, empty repository.
createRepositoryRequest
- Represents the input of a create repository operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteRepositoryResult> deleteRepositoryAsync(DeleteRepositoryRequest deleteRepositoryRequest)
Deletes a repository. If a specified repository was already deleted, a null repository ID will be returned.
deleteRepositoryRequest
- Represents the input of a delete repository operation.Future<DeleteRepositoryResult> deleteRepositoryAsync(DeleteRepositoryRequest deleteRepositoryRequest, AsyncHandler<DeleteRepositoryRequest,DeleteRepositoryResult> asyncHandler)
Deletes a repository. If a specified repository was already deleted, a null repository ID will be returned.
deleteRepositoryRequest
- Represents the input of a delete repository operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetBranchResult> getBranchAsync(GetBranchRequest getBranchRequest)
Retrieves information about a repository branch, including its name and the last commit ID.
getBranchRequest
- Represents the input of a get branch operation.Future<GetBranchResult> getBranchAsync(GetBranchRequest getBranchRequest, AsyncHandler<GetBranchRequest,GetBranchResult> asyncHandler)
Retrieves information about a repository branch, including its name and the last commit ID.
getBranchRequest
- Represents the input of a get branch operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetRepositoryResult> getRepositoryAsync(GetRepositoryRequest getRepositoryRequest)
Gets information about a repository.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.
getRepositoryRequest
- Represents the input of a get repository operation.Future<GetRepositoryResult> getRepositoryAsync(GetRepositoryRequest getRepositoryRequest, AsyncHandler<GetRepositoryRequest,GetRepositoryResult> asyncHandler)
Gets information about a repository.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.
getRepositoryRequest
- Represents the input of a get repository operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListBranchesResult> listBranchesAsync(ListBranchesRequest listBranchesRequest)
Gets information about one or more branches in a repository.
listBranchesRequest
- Represents the input of a list branches operation.Future<ListBranchesResult> listBranchesAsync(ListBranchesRequest listBranchesRequest, AsyncHandler<ListBranchesRequest,ListBranchesResult> asyncHandler)
Gets information about one or more branches in a repository.
listBranchesRequest
- Represents the input of a list branches operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListRepositoriesResult> listRepositoriesAsync(ListRepositoriesRequest listRepositoriesRequest)
Gets information about one or more repositories.
listRepositoriesRequest
- Represents the input of a list repositories operation.Future<ListRepositoriesResult> listRepositoriesAsync(ListRepositoriesRequest listRepositoriesRequest, AsyncHandler<ListRepositoriesRequest,ListRepositoriesResult> asyncHandler)
Gets information about one or more repositories.
listRepositoriesRequest
- Represents the input of a list repositories operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<Void> updateDefaultBranchAsync(UpdateDefaultBranchRequest updateDefaultBranchRequest)
Sets or changes the default branch name for the specified repository.
updateDefaultBranchRequest
- Represents the input of an update default branch operation.Future<Void> updateDefaultBranchAsync(UpdateDefaultBranchRequest updateDefaultBranchRequest, AsyncHandler<UpdateDefaultBranchRequest,Void> asyncHandler)
Sets or changes the default branch name for the specified repository.
updateDefaultBranchRequest
- Represents the input of an update default branch operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<Void> updateRepositoryDescriptionAsync(UpdateRepositoryDescriptionRequest updateRepositoryDescriptionRequest)
Sets or changes the comment or description for a repository.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.
updateRepositoryDescriptionRequest
- Represents the input of an update repository description
operation.Future<Void> updateRepositoryDescriptionAsync(UpdateRepositoryDescriptionRequest updateRepositoryDescriptionRequest, AsyncHandler<UpdateRepositoryDescriptionRequest,Void> asyncHandler)
Sets or changes the comment or description for a repository.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a web page could expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a web page.
updateRepositoryDescriptionRequest
- Represents the input of an update repository description
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<Void> updateRepositoryNameAsync(UpdateRepositoryNameRequest updateRepositoryNameRequest)
Renames a repository.
updateRepositoryNameRequest
- Represents the input of an update repository description
operation.Future<Void> updateRepositoryNameAsync(UpdateRepositoryNameRequest updateRepositoryNameRequest, AsyncHandler<UpdateRepositoryNameRequest,Void> asyncHandler)
Renames a repository.
updateRepositoryNameRequest
- Represents the input of an update repository description
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Copyright © 2015. All rights reserved.