public class AbstractAWSCodeCommitAsync extends AbstractAWSCodeCommit implements AWSCodeCommitAsync
AWSCodeCommitAsync
. Convenient method
forms pass through to the corresponding overload that takes a request object
and an AsyncHandler
, which throws an
UnsupportedOperationException
.Modifier | Constructor and Description |
---|---|
protected |
AbstractAWSCodeCommitAsync() |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<BatchGetRepositoriesResult> |
batchGetRepositoriesAsync(BatchGetRepositoriesRequest request)
Returns information about one or more repositories.
|
java.util.concurrent.Future<BatchGetRepositoriesResult> |
batchGetRepositoriesAsync(BatchGetRepositoriesRequest request,
AsyncHandler<BatchGetRepositoriesRequest,BatchGetRepositoriesResult> asyncHandler)
Returns information about one or more repositories.
|
java.util.concurrent.Future<CreateBranchResult> |
createBranchAsync(CreateBranchRequest request)
Creates a new branch in a repository and points the branch to a commit.
|
java.util.concurrent.Future<CreateBranchResult> |
createBranchAsync(CreateBranchRequest request,
AsyncHandler<CreateBranchRequest,CreateBranchResult> asyncHandler)
Creates a new branch in a repository and points the branch to a commit.
|
java.util.concurrent.Future<CreateRepositoryResult> |
createRepositoryAsync(CreateRepositoryRequest request)
Creates a new, empty repository.
|
java.util.concurrent.Future<CreateRepositoryResult> |
createRepositoryAsync(CreateRepositoryRequest request,
AsyncHandler<CreateRepositoryRequest,CreateRepositoryResult> asyncHandler)
Creates a new, empty repository.
|
java.util.concurrent.Future<DeleteRepositoryResult> |
deleteRepositoryAsync(DeleteRepositoryRequest request)
Deletes a repository.
|
java.util.concurrent.Future<DeleteRepositoryResult> |
deleteRepositoryAsync(DeleteRepositoryRequest request,
AsyncHandler<DeleteRepositoryRequest,DeleteRepositoryResult> asyncHandler)
Deletes a repository.
|
java.util.concurrent.Future<GetBranchResult> |
getBranchAsync(GetBranchRequest request)
Returns information about a repository branch, including its name and the
last commit ID.
|
java.util.concurrent.Future<GetBranchResult> |
getBranchAsync(GetBranchRequest request,
AsyncHandler<GetBranchRequest,GetBranchResult> asyncHandler)
Returns information about a repository branch, including its name and the
last commit ID.
|
java.util.concurrent.Future<GetCommitResult> |
getCommitAsync(GetCommitRequest request)
Returns information about a commit, including commit message and
committer information.
|
java.util.concurrent.Future<GetCommitResult> |
getCommitAsync(GetCommitRequest request,
AsyncHandler<GetCommitRequest,GetCommitResult> asyncHandler)
Returns information about a commit, including commit message and
committer information.
|
java.util.concurrent.Future<GetRepositoryResult> |
getRepositoryAsync(GetRepositoryRequest request)
Returns information about a repository.
|
java.util.concurrent.Future<GetRepositoryResult> |
getRepositoryAsync(GetRepositoryRequest request,
AsyncHandler<GetRepositoryRequest,GetRepositoryResult> asyncHandler)
Returns information about a repository.
|
java.util.concurrent.Future<GetRepositoryTriggersResult> |
getRepositoryTriggersAsync(GetRepositoryTriggersRequest request)
Gets information about triggers configured for a repository.
|
java.util.concurrent.Future<GetRepositoryTriggersResult> |
getRepositoryTriggersAsync(GetRepositoryTriggersRequest request,
AsyncHandler<GetRepositoryTriggersRequest,GetRepositoryTriggersResult> asyncHandler)
Gets information about triggers configured for a repository.
|
java.util.concurrent.Future<ListBranchesResult> |
listBranchesAsync(ListBranchesRequest request)
Gets information about one or more branches in a repository.
|
java.util.concurrent.Future<ListBranchesResult> |
listBranchesAsync(ListBranchesRequest request,
AsyncHandler<ListBranchesRequest,ListBranchesResult> asyncHandler)
Gets information about one or more branches in a repository.
|
java.util.concurrent.Future<ListRepositoriesResult> |
listRepositoriesAsync(ListRepositoriesRequest request)
Gets information about one or more repositories.
|
java.util.concurrent.Future<ListRepositoriesResult> |
listRepositoriesAsync(ListRepositoriesRequest request,
AsyncHandler<ListRepositoriesRequest,ListRepositoriesResult> asyncHandler)
Gets information about one or more repositories.
|
java.util.concurrent.Future<PutRepositoryTriggersResult> |
putRepositoryTriggersAsync(PutRepositoryTriggersRequest request)
Replaces all triggers for a repository.
|
java.util.concurrent.Future<PutRepositoryTriggersResult> |
putRepositoryTriggersAsync(PutRepositoryTriggersRequest request,
AsyncHandler<PutRepositoryTriggersRequest,PutRepositoryTriggersResult> asyncHandler)
Replaces all triggers for a repository.
|
java.util.concurrent.Future<TestRepositoryTriggersResult> |
testRepositoryTriggersAsync(TestRepositoryTriggersRequest request)
Tests the functionality of repository triggers by sending information to
the trigger target.
|
java.util.concurrent.Future<TestRepositoryTriggersResult> |
testRepositoryTriggersAsync(TestRepositoryTriggersRequest request,
AsyncHandler<TestRepositoryTriggersRequest,TestRepositoryTriggersResult> asyncHandler)
Tests the functionality of repository triggers by sending information to
the trigger target.
|
java.util.concurrent.Future<UpdateDefaultBranchResult> |
updateDefaultBranchAsync(UpdateDefaultBranchRequest request)
Sets or changes the default branch name for the specified repository.
|
java.util.concurrent.Future<UpdateDefaultBranchResult> |
updateDefaultBranchAsync(UpdateDefaultBranchRequest request,
AsyncHandler<UpdateDefaultBranchRequest,UpdateDefaultBranchResult> asyncHandler)
Sets or changes the default branch name for the specified repository.
|
java.util.concurrent.Future<UpdateRepositoryDescriptionResult> |
updateRepositoryDescriptionAsync(UpdateRepositoryDescriptionRequest request)
Sets or changes the comment or description for a repository.
|
java.util.concurrent.Future<UpdateRepositoryDescriptionResult> |
updateRepositoryDescriptionAsync(UpdateRepositoryDescriptionRequest request,
AsyncHandler<UpdateRepositoryDescriptionRequest,UpdateRepositoryDescriptionResult> asyncHandler)
Sets or changes the comment or description for a repository.
|
java.util.concurrent.Future<UpdateRepositoryNameResult> |
updateRepositoryNameAsync(UpdateRepositoryNameRequest request)
Renames a repository.
|
java.util.concurrent.Future<UpdateRepositoryNameResult> |
updateRepositoryNameAsync(UpdateRepositoryNameRequest request,
AsyncHandler<UpdateRepositoryNameRequest,UpdateRepositoryNameResult> asyncHandler)
Renames a repository.
|
batchGetRepositories, createBranch, createRepository, deleteRepository, getBranch, getCachedResponseMetadata, getCommit, getRepository, getRepositoryTriggers, listBranches, listRepositories, putRepositoryTriggers, setEndpoint, setRegion, shutdown, testRepositoryTriggers, updateDefaultBranch, updateRepositoryDescription, updateRepositoryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
batchGetRepositories, createBranch, createRepository, deleteRepository, getBranch, getCachedResponseMetadata, getCommit, getRepository, getRepositoryTriggers, listBranches, listRepositories, putRepositoryTriggers, setEndpoint, setRegion, shutdown, testRepositoryTriggers, updateDefaultBranch, updateRepositoryDescription, updateRepositoryName
public java.util.concurrent.Future<BatchGetRepositoriesResult> batchGetRepositoriesAsync(BatchGetRepositoriesRequest request)
AWSCodeCommitAsync
Returns 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.
batchGetRepositoriesAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a batch get repositories operation.public java.util.concurrent.Future<BatchGetRepositoriesResult> batchGetRepositoriesAsync(BatchGetRepositoriesRequest request, AsyncHandler<BatchGetRepositoriesRequest,BatchGetRepositoriesResult> asyncHandler)
AWSCodeCommitAsync
Returns 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.
batchGetRepositoriesAsync
in interface AWSCodeCommitAsync
request
- 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.public java.util.concurrent.Future<CreateBranchResult> createBranchAsync(CreateBranchRequest request)
AWSCodeCommitAsync
Creates a new branch in a repository and points the branch to a commit.
Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.
createBranchAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a create branch operation.public java.util.concurrent.Future<CreateBranchResult> createBranchAsync(CreateBranchRequest request, AsyncHandler<CreateBranchRequest,CreateBranchResult> asyncHandler)
AWSCodeCommitAsync
Creates a new branch in a repository and points the branch to a commit.
Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.
createBranchAsync
in interface AWSCodeCommitAsync
request
- 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.public java.util.concurrent.Future<CreateRepositoryResult> createRepositoryAsync(CreateRepositoryRequest request)
AWSCodeCommitAsync
Creates a new, empty repository.
createRepositoryAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a create repository operation.public java.util.concurrent.Future<CreateRepositoryResult> createRepositoryAsync(CreateRepositoryRequest request, AsyncHandler<CreateRepositoryRequest,CreateRepositoryResult> asyncHandler)
AWSCodeCommitAsync
Creates a new, empty repository.
createRepositoryAsync
in interface AWSCodeCommitAsync
request
- 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.public java.util.concurrent.Future<DeleteRepositoryResult> deleteRepositoryAsync(DeleteRepositoryRequest request)
AWSCodeCommitAsync
Deletes a repository. If a specified repository was already deleted, a null repository ID will be returned.
deleteRepositoryAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a delete repository operation.public java.util.concurrent.Future<DeleteRepositoryResult> deleteRepositoryAsync(DeleteRepositoryRequest request, AsyncHandler<DeleteRepositoryRequest,DeleteRepositoryResult> asyncHandler)
AWSCodeCommitAsync
Deletes a repository. If a specified repository was already deleted, a null repository ID will be returned.
deleteRepositoryAsync
in interface AWSCodeCommitAsync
request
- 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.public java.util.concurrent.Future<GetBranchResult> getBranchAsync(GetBranchRequest request)
AWSCodeCommitAsync
Returns information about a repository branch, including its name and the last commit ID.
getBranchAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a get branch operation.public java.util.concurrent.Future<GetBranchResult> getBranchAsync(GetBranchRequest request, AsyncHandler<GetBranchRequest,GetBranchResult> asyncHandler)
AWSCodeCommitAsync
Returns information about a repository branch, including its name and the last commit ID.
getBranchAsync
in interface AWSCodeCommitAsync
request
- 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.public java.util.concurrent.Future<GetCommitResult> getCommitAsync(GetCommitRequest request)
AWSCodeCommitAsync
Returns information about a commit, including commit message and committer information.
getCommitAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a get commit operation.public java.util.concurrent.Future<GetCommitResult> getCommitAsync(GetCommitRequest request, AsyncHandler<GetCommitRequest,GetCommitResult> asyncHandler)
AWSCodeCommitAsync
Returns information about a commit, including commit message and committer information.
getCommitAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a get commit 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.public java.util.concurrent.Future<GetRepositoryResult> getRepositoryAsync(GetRepositoryRequest request)
AWSCodeCommitAsync
Returns 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.
getRepositoryAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a get repository operation.public java.util.concurrent.Future<GetRepositoryResult> getRepositoryAsync(GetRepositoryRequest request, AsyncHandler<GetRepositoryRequest,GetRepositoryResult> asyncHandler)
AWSCodeCommitAsync
Returns 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.
getRepositoryAsync
in interface AWSCodeCommitAsync
request
- 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.public java.util.concurrent.Future<GetRepositoryTriggersResult> getRepositoryTriggersAsync(GetRepositoryTriggersRequest request)
AWSCodeCommitAsync
Gets information about triggers configured for a repository.
getRepositoryTriggersAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a get repository triggers operation.public java.util.concurrent.Future<GetRepositoryTriggersResult> getRepositoryTriggersAsync(GetRepositoryTriggersRequest request, AsyncHandler<GetRepositoryTriggersRequest,GetRepositoryTriggersResult> asyncHandler)
AWSCodeCommitAsync
Gets information about triggers configured for a repository.
getRepositoryTriggersAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a get repository triggers 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.public java.util.concurrent.Future<ListBranchesResult> listBranchesAsync(ListBranchesRequest request)
AWSCodeCommitAsync
Gets information about one or more branches in a repository.
listBranchesAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a list branches operation.public java.util.concurrent.Future<ListBranchesResult> listBranchesAsync(ListBranchesRequest request, AsyncHandler<ListBranchesRequest,ListBranchesResult> asyncHandler)
AWSCodeCommitAsync
Gets information about one or more branches in a repository.
listBranchesAsync
in interface AWSCodeCommitAsync
request
- 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.public java.util.concurrent.Future<ListRepositoriesResult> listRepositoriesAsync(ListRepositoriesRequest request)
AWSCodeCommitAsync
Gets information about one or more repositories.
listRepositoriesAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a list repositories operation.public java.util.concurrent.Future<ListRepositoriesResult> listRepositoriesAsync(ListRepositoriesRequest request, AsyncHandler<ListRepositoriesRequest,ListRepositoriesResult> asyncHandler)
AWSCodeCommitAsync
Gets information about one or more repositories.
listRepositoriesAsync
in interface AWSCodeCommitAsync
request
- 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.public java.util.concurrent.Future<PutRepositoryTriggersResult> putRepositoryTriggersAsync(PutRepositoryTriggersRequest request)
AWSCodeCommitAsync
Replaces all triggers for a repository. This can be used to create or delete triggers.
putRepositoryTriggersAsync
in interface AWSCodeCommitAsync
request
- Represents the input ofa put repository triggers operation.public java.util.concurrent.Future<PutRepositoryTriggersResult> putRepositoryTriggersAsync(PutRepositoryTriggersRequest request, AsyncHandler<PutRepositoryTriggersRequest,PutRepositoryTriggersResult> asyncHandler)
AWSCodeCommitAsync
Replaces all triggers for a repository. This can be used to create or delete triggers.
putRepositoryTriggersAsync
in interface AWSCodeCommitAsync
request
- Represents the input ofa put repository triggers 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.public java.util.concurrent.Future<TestRepositoryTriggersResult> testRepositoryTriggersAsync(TestRepositoryTriggersRequest request)
AWSCodeCommitAsync
Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test will send data from the last commit. If no data is available, sample data will be generated.
testRepositoryTriggersAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a test repository triggers operation.public java.util.concurrent.Future<TestRepositoryTriggersResult> testRepositoryTriggersAsync(TestRepositoryTriggersRequest request, AsyncHandler<TestRepositoryTriggersRequest,TestRepositoryTriggersResult> asyncHandler)
AWSCodeCommitAsync
Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test will send data from the last commit. If no data is available, sample data will be generated.
testRepositoryTriggersAsync
in interface AWSCodeCommitAsync
request
- Represents the input of a test repository triggers 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.public java.util.concurrent.Future<UpdateDefaultBranchResult> updateDefaultBranchAsync(UpdateDefaultBranchRequest request)
AWSCodeCommitAsync
Sets or changes the default branch name for the specified repository.
If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change.
updateDefaultBranchAsync
in interface AWSCodeCommitAsync
request
- Represents the input of an update default branch operation.public java.util.concurrent.Future<UpdateDefaultBranchResult> updateDefaultBranchAsync(UpdateDefaultBranchRequest request, AsyncHandler<UpdateDefaultBranchRequest,UpdateDefaultBranchResult> asyncHandler)
AWSCodeCommitAsync
Sets or changes the default branch name for the specified repository.
If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change.
updateDefaultBranchAsync
in interface AWSCodeCommitAsync
request
- 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.public java.util.concurrent.Future<UpdateRepositoryDescriptionResult> updateRepositoryDescriptionAsync(UpdateRepositoryDescriptionRequest request)
AWSCodeCommitAsync
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.
updateRepositoryDescriptionAsync
in interface AWSCodeCommitAsync
request
- Represents the input of an update repository description
operation.public java.util.concurrent.Future<UpdateRepositoryDescriptionResult> updateRepositoryDescriptionAsync(UpdateRepositoryDescriptionRequest request, AsyncHandler<UpdateRepositoryDescriptionRequest,UpdateRepositoryDescriptionResult> asyncHandler)
AWSCodeCommitAsync
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.
updateRepositoryDescriptionAsync
in interface AWSCodeCommitAsync
request
- 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.public java.util.concurrent.Future<UpdateRepositoryNameResult> updateRepositoryNameAsync(UpdateRepositoryNameRequest request)
AWSCodeCommitAsync
Renames a repository. The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix ".git" is prohibited. For a full description of the limits on repository names, see Limits in the AWS CodeCommit User Guide.
updateRepositoryNameAsync
in interface AWSCodeCommitAsync
request
- Represents the input of an update repository description
operation.public java.util.concurrent.Future<UpdateRepositoryNameResult> updateRepositoryNameAsync(UpdateRepositoryNameRequest request, AsyncHandler<UpdateRepositoryNameRequest,UpdateRepositoryNameResult> asyncHandler)
AWSCodeCommitAsync
Renames a repository. The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix ".git" is prohibited. For a full description of the limits on repository names, see Limits in the AWS CodeCommit User Guide.
updateRepositoryNameAsync
in interface AWSCodeCommitAsync
request
- 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.