Class DevopsAsyncClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseAsyncClient
-
- com.oracle.bmc.devops.DevopsAsyncClient
-
- All Implemented Interfaces:
DevopsAsync,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20210630") public class DevopsAsyncClient extends BaseAsyncClient implements DevopsAsyncAsync client implementation for Devops service.
There are two ways to use async client: 1. Use AsyncHandler: using AsyncHandler, if the response to the call is anInputStream, like getObject Api in object storage service, developers need to process the stream in AsyncHandler, and not anywhere else, because the stream will be closed right after the AsyncHandler is invoked.
2. Use Java Future: using Java Future, developers need to close the stream after they are done with the Java Future.
Accessing the result should be done in a mutually exclusive manner, either through the Future or the AsyncHandler, but not both. If the Future is used, the caller should pass in null as the AsyncHandler. If the AsyncHandler is used, it is still safe to use the Future to determine whether or not the request was completed via Future.isDone/isCancelled.
Please refer to https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDevopsAsyncClient.BuilderBuilder class for this client.
-
Field Summary
Fields Modifier and Type Field Description StringclientCommonLibraryVersionCompatible SDK version, provided by the codegen.Optional<String>minimumClientCommonLibraryVersionFromClientMinimum compatible SDK version, maybe provided by the codegen.static ServiceSERVICEService instance for Devops.
-
Constructor Summary
Constructors Constructor Description DevopsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.DevopsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.DevopsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.DevopsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.DevopsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.DevopsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.DevopsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface com.oracle.bmc.devops.DevopsAsync
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
DevopsAsyncClient
@Deprecated public DevopsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDevopsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
DevopsAsyncClient
@Deprecated public DevopsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDevopsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
DevopsAsyncClient
@Deprecated public DevopsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDevopsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
DevopsAsyncClient
@Deprecated public DevopsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDevopsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
DevopsAsyncClient
@Deprecated public DevopsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDevopsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
DevopsAsyncClient
@Deprecated public DevopsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDevopsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)
-
DevopsAsyncClient
@Deprecated public DevopsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDevopsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactories
-
-
Method Detail
-
builder
public static DevopsAsyncClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:DevopsAsyncSets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpointafter resolving the endpoint. If the service is not available in this region, however, an IllegalArgumentException will be raised.- Specified by:
setRegionin interfaceDevopsAsync- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:DevopsAsyncSets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call
setRegion.If no known Region could be determined, it will create an endpoint based on the default endpoint format (
Region.formatDefaultRegionEndpoint(Service, String)and then callsetEndpoint.- Specified by:
setRegionin interfaceDevopsAsync- Parameters:
regionId- The public region ID.
-
approveDeployment
public Future<ApproveDeploymentResponse> approveDeployment(ApproveDeploymentRequest request, AsyncHandler<ApproveDeploymentRequest,ApproveDeploymentResponse> handler)
Description copied from interface:DevopsAsyncSubmit stage approval.- Specified by:
approveDeploymentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
cancelBuildRun
public Future<CancelBuildRunResponse> cancelBuildRun(CancelBuildRunRequest request, AsyncHandler<CancelBuildRunRequest,CancelBuildRunResponse> handler)
Description copied from interface:DevopsAsyncCancels the build run based on the build run ID provided in the request.- Specified by:
cancelBuildRunin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
cancelDeployment
public Future<CancelDeploymentResponse> cancelDeployment(CancelDeploymentRequest request, AsyncHandler<CancelDeploymentRequest,CancelDeploymentResponse> handler)
Description copied from interface:DevopsAsyncCancels a deployment resource by identifier.- Specified by:
cancelDeploymentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
cancelScheduledCascadingProjectDeletion
public Future<CancelScheduledCascadingProjectDeletionResponse> cancelScheduledCascadingProjectDeletion(CancelScheduledCascadingProjectDeletionRequest request, AsyncHandler<CancelScheduledCascadingProjectDeletionRequest,CancelScheduledCascadingProjectDeletionResponse> handler)
Description copied from interface:DevopsAsyncCascading operation that restores Project and child resources from a DELETING state to an active state- Specified by:
cancelScheduledCascadingProjectDeletionin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeProjectCompartment
public Future<ChangeProjectCompartmentResponse> changeProjectCompartment(ChangeProjectCompartmentRequest request, AsyncHandler<ChangeProjectCompartmentRequest,ChangeProjectCompartmentResponse> handler)
Description copied from interface:DevopsAsyncMoves a project resource from one compartment OCID to another.- Specified by:
changeProjectCompartmentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createBuildPipeline
public Future<CreateBuildPipelineResponse> createBuildPipeline(CreateBuildPipelineRequest request, AsyncHandler<CreateBuildPipelineRequest,CreateBuildPipelineResponse> handler)
Description copied from interface:DevopsAsyncCreates a new build pipeline.- Specified by:
createBuildPipelinein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createBuildPipelineStage
public Future<CreateBuildPipelineStageResponse> createBuildPipelineStage(CreateBuildPipelineStageRequest request, AsyncHandler<CreateBuildPipelineStageRequest,CreateBuildPipelineStageResponse> handler)
Description copied from interface:DevopsAsyncCreates a new stage.- Specified by:
createBuildPipelineStagein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createBuildRun
public Future<CreateBuildRunResponse> createBuildRun(CreateBuildRunRequest request, AsyncHandler<CreateBuildRunRequest,CreateBuildRunResponse> handler)
Description copied from interface:DevopsAsyncStarts a build pipeline run for a predefined build pipeline.Please ensure the completion of any work request for creation/updation of Build Pipeline before starting a Build Run.
- Specified by:
createBuildRunin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createConnection
public Future<CreateConnectionResponse> createConnection(CreateConnectionRequest request, AsyncHandler<CreateConnectionRequest,CreateConnectionResponse> handler)
Description copied from interface:DevopsAsyncCreates a new connection.- Specified by:
createConnectionin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createDeployArtifact
public Future<CreateDeployArtifactResponse> createDeployArtifact(CreateDeployArtifactRequest request, AsyncHandler<CreateDeployArtifactRequest,CreateDeployArtifactResponse> handler)
Description copied from interface:DevopsAsyncCreates a new deployment artifact.- Specified by:
createDeployArtifactin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createDeployEnvironment
public Future<CreateDeployEnvironmentResponse> createDeployEnvironment(CreateDeployEnvironmentRequest request, AsyncHandler<CreateDeployEnvironmentRequest,CreateDeployEnvironmentResponse> handler)
Description copied from interface:DevopsAsyncCreates a new deployment environment.- Specified by:
createDeployEnvironmentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createDeployPipeline
public Future<CreateDeployPipelineResponse> createDeployPipeline(CreateDeployPipelineRequest request, AsyncHandler<CreateDeployPipelineRequest,CreateDeployPipelineResponse> handler)
Description copied from interface:DevopsAsyncCreates a new deployment pipeline.- Specified by:
createDeployPipelinein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createDeployStage
public Future<CreateDeployStageResponse> createDeployStage(CreateDeployStageRequest request, AsyncHandler<CreateDeployStageRequest,CreateDeployStageResponse> handler)
Description copied from interface:DevopsAsyncCreates a new deployment stage.- Specified by:
createDeployStagein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createDeployment
public Future<CreateDeploymentResponse> createDeployment(CreateDeploymentRequest request, AsyncHandler<CreateDeploymentRequest,CreateDeploymentResponse> handler)
Description copied from interface:DevopsAsyncCreates a new deployment.- Specified by:
createDeploymentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createOrUpdateGitRef
public Future<CreateOrUpdateGitRefResponse> createOrUpdateGitRef(CreateOrUpdateGitRefRequest request, AsyncHandler<CreateOrUpdateGitRefRequest,CreateOrUpdateGitRefResponse> handler)
Description copied from interface:DevopsAsyncCreates a new reference or updates an existing one.- Specified by:
createOrUpdateGitRefin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createOrUpdateProtectedBranch
public Future<CreateOrUpdateProtectedBranchResponse> createOrUpdateProtectedBranch(CreateOrUpdateProtectedBranchRequest request, AsyncHandler<CreateOrUpdateProtectedBranchRequest,CreateOrUpdateProtectedBranchResponse> handler)
Description copied from interface:DevopsAsyncCreates a restriction on a branch that prevents certain actions on it.- Specified by:
createOrUpdateProtectedBranchin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createProject
public Future<CreateProjectResponse> createProject(CreateProjectRequest request, AsyncHandler<CreateProjectRequest,CreateProjectResponse> handler)
Description copied from interface:DevopsAsyncCreates a new project.- Specified by:
createProjectin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createPullRequest
public Future<CreatePullRequestResponse> createPullRequest(CreatePullRequestRequest request, AsyncHandler<CreatePullRequestRequest,CreatePullRequestResponse> handler)
Description copied from interface:DevopsAsyncCreates a new PullRequest.- Specified by:
createPullRequestin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createPullRequestAttachment
public Future<CreatePullRequestAttachmentResponse> createPullRequestAttachment(CreatePullRequestAttachmentRequest request, AsyncHandler<CreatePullRequestAttachmentRequest,CreatePullRequestAttachmentResponse> handler)
Description copied from interface:DevopsAsyncCreates PullRequest attachment- Specified by:
createPullRequestAttachmentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createPullRequestComment
public Future<CreatePullRequestCommentResponse> createPullRequestComment(CreatePullRequestCommentRequest request, AsyncHandler<CreatePullRequestCommentRequest,CreatePullRequestCommentResponse> handler)
Description copied from interface:DevopsAsyncCreates a new PullRequest comment.- Specified by:
createPullRequestCommentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createRepository
public Future<CreateRepositoryResponse> createRepository(CreateRepositoryRequest request, AsyncHandler<CreateRepositoryRequest,CreateRepositoryResponse> handler)
Description copied from interface:DevopsAsyncCreates a new repository.- Specified by:
createRepositoryin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createTrigger
public Future<CreateTriggerResponse> createTrigger(CreateTriggerRequest request, AsyncHandler<CreateTriggerRequest,CreateTriggerResponse> handler)
Description copied from interface:DevopsAsyncCreates a new trigger.- Specified by:
createTriggerin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
declinePullRequest
public Future<DeclinePullRequestResponse> declinePullRequest(DeclinePullRequestRequest request, AsyncHandler<DeclinePullRequestRequest,DeclinePullRequestResponse> handler)
Description copied from interface:DevopsAsyncDecline a PullRequest- Specified by:
declinePullRequestin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteBuildPipeline
public Future<DeleteBuildPipelineResponse> deleteBuildPipeline(DeleteBuildPipelineRequest request, AsyncHandler<DeleteBuildPipelineRequest,DeleteBuildPipelineResponse> handler)
Description copied from interface:DevopsAsyncDeletes a build pipeline resource by identifier.- Specified by:
deleteBuildPipelinein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteBuildPipelineStage
public Future<DeleteBuildPipelineStageResponse> deleteBuildPipelineStage(DeleteBuildPipelineStageRequest request, AsyncHandler<DeleteBuildPipelineStageRequest,DeleteBuildPipelineStageResponse> handler)
Description copied from interface:DevopsAsyncDeletes a stage based on the stage ID provided in the request.- Specified by:
deleteBuildPipelineStagein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteConnection
public Future<DeleteConnectionResponse> deleteConnection(DeleteConnectionRequest request, AsyncHandler<DeleteConnectionRequest,DeleteConnectionResponse> handler)
Description copied from interface:DevopsAsyncDeletes a connection resource by identifier.- Specified by:
deleteConnectionin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteDeployArtifact
public Future<DeleteDeployArtifactResponse> deleteDeployArtifact(DeleteDeployArtifactRequest request, AsyncHandler<DeleteDeployArtifactRequest,DeleteDeployArtifactResponse> handler)
Description copied from interface:DevopsAsyncDeletes a deployment artifact resource by identifier.- Specified by:
deleteDeployArtifactin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteDeployEnvironment
public Future<DeleteDeployEnvironmentResponse> deleteDeployEnvironment(DeleteDeployEnvironmentRequest request, AsyncHandler<DeleteDeployEnvironmentRequest,DeleteDeployEnvironmentResponse> handler)
Description copied from interface:DevopsAsyncDeletes a deployment environment resource by identifier.- Specified by:
deleteDeployEnvironmentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteDeployPipeline
public Future<DeleteDeployPipelineResponse> deleteDeployPipeline(DeleteDeployPipelineRequest request, AsyncHandler<DeleteDeployPipelineRequest,DeleteDeployPipelineResponse> handler)
Description copied from interface:DevopsAsyncDeletes a deployment pipeline resource by identifier.- Specified by:
deleteDeployPipelinein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteDeployStage
public Future<DeleteDeployStageResponse> deleteDeployStage(DeleteDeployStageRequest request, AsyncHandler<DeleteDeployStageRequest,DeleteDeployStageResponse> handler)
Description copied from interface:DevopsAsyncDeletes a deployment stage resource by identifier.- Specified by:
deleteDeployStagein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteGitRef
public Future<DeleteGitRefResponse> deleteGitRef(DeleteGitRefRequest request, AsyncHandler<DeleteGitRefRequest,DeleteGitRefResponse> handler)
Description copied from interface:DevopsAsyncDeletes a Repository’s Ref by its name.Returns an error if the name is ambiguous. Can be disambiguated by using full names like "heads/
" or "tags/ ". - Specified by:
deleteGitRefin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteProject
public Future<DeleteProjectResponse> deleteProject(DeleteProjectRequest request, AsyncHandler<DeleteProjectRequest,DeleteProjectResponse> handler)
Description copied from interface:DevopsAsyncDeletes a project resource by identifier- Specified by:
deleteProjectin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteProjectRepositorySettings
public Future<DeleteProjectRepositorySettingsResponse> deleteProjectRepositorySettings(DeleteProjectRepositorySettingsRequest request, AsyncHandler<DeleteProjectRepositorySettingsRequest,DeleteProjectRepositorySettingsResponse> handler)
Description copied from interface:DevopsAsyncRemoves the custom repository settings configured for a project.- Specified by:
deleteProjectRepositorySettingsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteProtectedBranch
public Future<DeleteProtectedBranchResponse> deleteProtectedBranch(DeleteProtectedBranchRequest request, AsyncHandler<DeleteProtectedBranchRequest,DeleteProtectedBranchResponse> handler)
Description copied from interface:DevopsAsyncRemoves the protection from a branch- Specified by:
deleteProtectedBranchin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deletePullRequest
public Future<DeletePullRequestResponse> deletePullRequest(DeletePullRequestRequest request, AsyncHandler<DeletePullRequestRequest,DeletePullRequestResponse> handler)
Description copied from interface:DevopsAsyncDeletes a PullRequest resource by identifier- Specified by:
deletePullRequestin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deletePullRequestAttachment
public Future<DeletePullRequestAttachmentResponse> deletePullRequestAttachment(DeletePullRequestAttachmentRequest request, AsyncHandler<DeletePullRequestAttachmentRequest,DeletePullRequestAttachmentResponse> handler)
Description copied from interface:DevopsAsyncDeletes a PullRequest attachment metadata by identifier- Specified by:
deletePullRequestAttachmentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deletePullRequestComment
public Future<DeletePullRequestCommentResponse> deletePullRequestComment(DeletePullRequestCommentRequest request, AsyncHandler<DeletePullRequestCommentRequest,DeletePullRequestCommentResponse> handler)
Description copied from interface:DevopsAsyncDeletes a PullRequest comment by identifier- Specified by:
deletePullRequestCommentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteRef
public Future<DeleteRefResponse> deleteRef(DeleteRefRequest request, AsyncHandler<DeleteRefRequest,DeleteRefResponse> handler)
Description copied from interface:DevopsAsyncDeletes a Repository’s Ref by its name.Returns an error if the name is ambiguous. Can be disambiguated by using full names like "heads/
" or "tags/ ". This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has ‘/’. This will be replaced by "/repositories/{repositoryId}/actions/deleteGitRef". - Specified by:
deleteRefin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteRepository
public Future<DeleteRepositoryResponse> deleteRepository(DeleteRepositoryRequest request, AsyncHandler<DeleteRepositoryRequest,DeleteRepositoryResponse> handler)
Description copied from interface:DevopsAsyncDeletes a repository resource by identifier.- Specified by:
deleteRepositoryin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteRepositorySettings
public Future<DeleteRepositorySettingsResponse> deleteRepositorySettings(DeleteRepositorySettingsRequest request, AsyncHandler<DeleteRepositorySettingsRequest,DeleteRepositorySettingsResponse> handler)
Description copied from interface:DevopsAsyncRemoves the custom settings configured for a repository- Specified by:
deleteRepositorySettingsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteTrigger
public Future<DeleteTriggerResponse> deleteTrigger(DeleteTriggerRequest request, AsyncHandler<DeleteTriggerRequest,DeleteTriggerResponse> handler)
Description copied from interface:DevopsAsyncDeletes a trigger resource by identifier.- Specified by:
deleteTriggerin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getBuildPipeline
public Future<GetBuildPipelineResponse> getBuildPipeline(GetBuildPipelineRequest request, AsyncHandler<GetBuildPipelineRequest,GetBuildPipelineResponse> handler)
Description copied from interface:DevopsAsyncRetrieves a build pipeline by identifier.- Specified by:
getBuildPipelinein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getBuildPipelineStage
public Future<GetBuildPipelineStageResponse> getBuildPipelineStage(GetBuildPipelineStageRequest request, AsyncHandler<GetBuildPipelineStageRequest,GetBuildPipelineStageResponse> handler)
Description copied from interface:DevopsAsyncRetrieves a stage based on the stage ID provided in the request.- Specified by:
getBuildPipelineStagein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getBuildRun
public Future<GetBuildRunResponse> getBuildRun(GetBuildRunRequest request, AsyncHandler<GetBuildRunRequest,GetBuildRunResponse> handler)
Description copied from interface:DevopsAsyncReturns the details of a build run for a given build run ID.- Specified by:
getBuildRunin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getCommit
public Future<GetCommitResponse> getCommit(GetCommitRequest request, AsyncHandler<GetCommitRequest,GetCommitResponse> handler)
Description copied from interface:DevopsAsyncRetrieves a repository’s commit by commit ID.- Specified by:
getCommitin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getCommitDiff
public Future<GetCommitDiffResponse> getCommitDiff(GetCommitDiffRequest request, AsyncHandler<GetCommitDiffRequest,GetCommitDiffResponse> handler)
Description copied from interface:DevopsAsyncCompares two revisions for their differences.Supports comparison between two references or commits.
- Specified by:
getCommitDiffin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getConnection
public Future<GetConnectionResponse> getConnection(GetConnectionRequest request, AsyncHandler<GetConnectionRequest,GetConnectionResponse> handler)
Description copied from interface:DevopsAsyncRetrieves a connection by identifier.- Specified by:
getConnectionin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDeployArtifact
public Future<GetDeployArtifactResponse> getDeployArtifact(GetDeployArtifactRequest request, AsyncHandler<GetDeployArtifactRequest,GetDeployArtifactResponse> handler)
Description copied from interface:DevopsAsyncRetrieves a deployment artifact by identifier.- Specified by:
getDeployArtifactin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDeployEnvironment
public Future<GetDeployEnvironmentResponse> getDeployEnvironment(GetDeployEnvironmentRequest request, AsyncHandler<GetDeployEnvironmentRequest,GetDeployEnvironmentResponse> handler)
Description copied from interface:DevopsAsyncRetrieves a deployment environment by identifier.- Specified by:
getDeployEnvironmentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDeployPipeline
public Future<GetDeployPipelineResponse> getDeployPipeline(GetDeployPipelineRequest request, AsyncHandler<GetDeployPipelineRequest,GetDeployPipelineResponse> handler)
Description copied from interface:DevopsAsyncRetrieves a deployment pipeline by identifier.- Specified by:
getDeployPipelinein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDeployStage
public Future<GetDeployStageResponse> getDeployStage(GetDeployStageRequest request, AsyncHandler<GetDeployStageRequest,GetDeployStageResponse> handler)
Description copied from interface:DevopsAsyncRetrieves a deployment stage by identifier.- Specified by:
getDeployStagein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDeployment
public Future<GetDeploymentResponse> getDeployment(GetDeploymentRequest request, AsyncHandler<GetDeploymentRequest,GetDeploymentResponse> handler)
Description copied from interface:DevopsAsyncRetrieves a deployment by identifier.- Specified by:
getDeploymentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getFileDiff
public Future<GetFileDiffResponse> getFileDiff(GetFileDiffRequest request, AsyncHandler<GetFileDiffRequest,GetFileDiffResponse> handler)
Description copied from interface:DevopsAsyncGets the line-by-line difference between file on different commits.This API will be deprecated on Wed, 29 Mar 2023 01:00:00 GMT as it does not get recognized when filePath has ‘/’. This will be replaced by "/repositories/{repositoryId}/file/diffs"
- Specified by:
getFileDiffin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getMirrorRecord
public Future<GetMirrorRecordResponse> getMirrorRecord(GetMirrorRecordRequest request, AsyncHandler<GetMirrorRecordRequest,GetMirrorRecordResponse> handler)
Description copied from interface:DevopsAsyncReturns either current mirror record or last successful mirror record for a specific mirror repository.- Specified by:
getMirrorRecordin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getObject
public Future<GetObjectResponse> getObject(GetObjectRequest request, AsyncHandler<GetObjectRequest,GetObjectResponse> handler)
Description copied from interface:DevopsAsyncRetrieves blob of specific branch name/commit ID and file path.- Specified by:
getObjectin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getObjectContent
public Future<GetObjectContentResponse> getObjectContent(GetObjectContentRequest request, AsyncHandler<GetObjectContentRequest,GetObjectContentResponse> handler)
Description copied from interface:DevopsAsyncRetrieve contents of a specified object.- Specified by:
getObjectContentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getProject
public Future<GetProjectResponse> getProject(GetProjectRequest request, AsyncHandler<GetProjectRequest,GetProjectResponse> handler)
Description copied from interface:DevopsAsyncRetrieves a project by identifier.- Specified by:
getProjectin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getProjectNotificationPreference
public Future<GetProjectNotificationPreferenceResponse> getProjectNotificationPreference(GetProjectNotificationPreferenceRequest request, AsyncHandler<GetProjectNotificationPreferenceRequest,GetProjectNotificationPreferenceResponse> handler)
Description copied from interface:DevopsAsyncGet the project notification preference for the user passed as path param- Specified by:
getProjectNotificationPreferencein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getProjectRepositorySettings
public Future<GetProjectRepositorySettingsResponse> getProjectRepositorySettings(GetProjectRepositorySettingsRequest request, AsyncHandler<GetProjectRepositorySettingsRequest,GetProjectRepositorySettingsResponse> handler)
Description copied from interface:DevopsAsyncRetrieves a project’s repository settings details.- Specified by:
getProjectRepositorySettingsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getPullRequest
public Future<GetPullRequestResponse> getPullRequest(GetPullRequestRequest request, AsyncHandler<GetPullRequestRequest,GetPullRequestResponse> handler)
Description copied from interface:DevopsAsyncGets a PullRequest by identifier- Specified by:
getPullRequestin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getPullRequestAttachment
public Future<GetPullRequestAttachmentResponse> getPullRequestAttachment(GetPullRequestAttachmentRequest request, AsyncHandler<GetPullRequestAttachmentRequest,GetPullRequestAttachmentResponse> handler)
Description copied from interface:DevopsAsyncGet PullRequest attachment metadata by identifier- Specified by:
getPullRequestAttachmentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getPullRequestAttachmentContent
public Future<GetPullRequestAttachmentContentResponse> getPullRequestAttachmentContent(GetPullRequestAttachmentContentRequest request, AsyncHandler<GetPullRequestAttachmentContentRequest,GetPullRequestAttachmentContentResponse> handler)
Description copied from interface:DevopsAsyncGets the content of the attachment.- Specified by:
getPullRequestAttachmentContentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getPullRequestChangeSummaryMetrics
public Future<GetPullRequestChangeSummaryMetricsResponse> getPullRequestChangeSummaryMetrics(GetPullRequestChangeSummaryMetricsRequest request, AsyncHandler<GetPullRequestChangeSummaryMetricsRequest,GetPullRequestChangeSummaryMetricsResponse> handler)
Description copied from interface:DevopsAsyncGet pull request diff summary metric- Specified by:
getPullRequestChangeSummaryMetricsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getPullRequestComment
public Future<GetPullRequestCommentResponse> getPullRequestComment(GetPullRequestCommentRequest request, AsyncHandler<GetPullRequestCommentRequest,GetPullRequestCommentResponse> handler)
Description copied from interface:DevopsAsyncGet PullRequest comment by identifier- Specified by:
getPullRequestCommentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getPullRequestNotificationPreference
public Future<GetPullRequestNotificationPreferenceResponse> getPullRequestNotificationPreference(GetPullRequestNotificationPreferenceRequest request, AsyncHandler<GetPullRequestNotificationPreferenceRequest,GetPullRequestNotificationPreferenceResponse> handler)
Description copied from interface:DevopsAsyncGet the pull request notification preference for the user passed as path param- Specified by:
getPullRequestNotificationPreferencein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getRef
public Future<GetRefResponse> getRef(GetRefRequest request, AsyncHandler<GetRefRequest,GetRefResponse> handler)
Description copied from interface:DevopsAsyncThis API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has ‘/’.This will be replaced by "/repositories/{repositoryId}/refs". Retrieves a repository’s reference by its name with preference for branches over tags if the name is ambiguous. This can be disambiguated by using full names like "heads/
" or "tags/ ". - Specified by:
getRefin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getRepoFileDiff
public Future<GetRepoFileDiffResponse> getRepoFileDiff(GetRepoFileDiffRequest request, AsyncHandler<GetRepoFileDiffRequest,GetRepoFileDiffResponse> handler)
Description copied from interface:DevopsAsyncGets the line-by-line difference between file on different commits.- Specified by:
getRepoFileDiffin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getRepoFileLines
public Future<GetRepoFileLinesResponse> getRepoFileLines(GetRepoFileLinesRequest request, AsyncHandler<GetRepoFileLinesRequest,GetRepoFileLinesResponse> handler)
Description copied from interface:DevopsAsyncRetrieve lines of a specified file.Supports starting line number and limit.
- Specified by:
getRepoFileLinesin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getRepository
public Future<GetRepositoryResponse> getRepository(GetRepositoryRequest request, AsyncHandler<GetRepositoryRequest,GetRepositoryResponse> handler)
Description copied from interface:DevopsAsyncRetrieves a repository by identifier.- Specified by:
getRepositoryin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getRepositoryArchiveContent
public Future<GetRepositoryArchiveContentResponse> getRepositoryArchiveContent(GetRepositoryArchiveContentRequest request, AsyncHandler<GetRepositoryArchiveContentRequest,GetRepositoryArchiveContentResponse> handler)
Description copied from interface:DevopsAsyncReturns the archived repository information.- Specified by:
getRepositoryArchiveContentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getRepositoryFileLines
public Future<GetRepositoryFileLinesResponse> getRepositoryFileLines(GetRepositoryFileLinesRequest request, AsyncHandler<GetRepositoryFileLinesRequest,GetRepositoryFileLinesResponse> handler)
Description copied from interface:DevopsAsyncRetrieve lines of a specified file.Supports starting line number and limit. This API will be deprecated on Wed, 29 Mar 2023 01:00:00 GMT as it does not get recognized when filePath has ‘/’. This will be replaced by "/repositories/{repositoryId}/file/lines"
- Specified by:
getRepositoryFileLinesin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getRepositoryNotificationPreference
public Future<GetRepositoryNotificationPreferenceResponse> getRepositoryNotificationPreference(GetRepositoryNotificationPreferenceRequest request, AsyncHandler<GetRepositoryNotificationPreferenceRequest,GetRepositoryNotificationPreferenceResponse> handler)
Description copied from interface:DevopsAsyncGet the repository notification preference for the user passed as path param- Specified by:
getRepositoryNotificationPreferencein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getRepositorySettings
public Future<GetRepositorySettingsResponse> getRepositorySettings(GetRepositorySettingsRequest request, AsyncHandler<GetRepositorySettingsRequest,GetRepositorySettingsResponse> handler)
Description copied from interface:DevopsAsyncRetrieves a repository’s settings details.- Specified by:
getRepositorySettingsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getTrigger
public Future<GetTriggerResponse> getTrigger(GetTriggerRequest request, AsyncHandler<GetTriggerRequest,GetTriggerResponse> handler)
Description copied from interface:DevopsAsyncRetrieves a trigger by identifier.- Specified by:
getTriggerin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getWorkRequest
public Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
Description copied from interface:DevopsAsyncRetrieves the status of the work request with the given ID.- Specified by:
getWorkRequestin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
likePullRequestComment
public Future<LikePullRequestCommentResponse> likePullRequestComment(LikePullRequestCommentRequest request, AsyncHandler<LikePullRequestCommentRequest,LikePullRequestCommentResponse> handler)
Description copied from interface:DevopsAsyncLike a PullRequest comment- Specified by:
likePullRequestCommentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listAuthors
public Future<ListAuthorsResponse> listAuthors(ListAuthorsRequest request, AsyncHandler<ListAuthorsRequest,ListAuthorsResponse> handler)
Description copied from interface:DevopsAsyncRetrieve a list of all the authors.- Specified by:
listAuthorsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listBuildPipelineStages
public Future<ListBuildPipelineStagesResponse> listBuildPipelineStages(ListBuildPipelineStagesRequest request, AsyncHandler<ListBuildPipelineStagesRequest,ListBuildPipelineStagesResponse> handler)
Description copied from interface:DevopsAsyncReturns a list of all stages in a compartment or build pipeline.- Specified by:
listBuildPipelineStagesin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listBuildPipelines
public Future<ListBuildPipelinesResponse> listBuildPipelines(ListBuildPipelinesRequest request, AsyncHandler<ListBuildPipelinesRequest,ListBuildPipelinesResponse> handler)
Description copied from interface:DevopsAsyncReturns a list of build pipelines.- Specified by:
listBuildPipelinesin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listBuildRunSnapshots
public Future<ListBuildRunSnapshotsResponse> listBuildRunSnapshots(ListBuildRunSnapshotsRequest request, AsyncHandler<ListBuildRunSnapshotsRequest,ListBuildRunSnapshotsResponse> handler)
Description copied from interface:DevopsAsyncReturns a list of build run snapshots for a given commit or the latest commit on a pull request if no commit is provided.- Specified by:
listBuildRunSnapshotsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listBuildRuns
public Future<ListBuildRunsResponse> listBuildRuns(ListBuildRunsRequest request, AsyncHandler<ListBuildRunsRequest,ListBuildRunsResponse> handler)
Description copied from interface:DevopsAsyncReturns a list of build run summary.- Specified by:
listBuildRunsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listCommitDiffs
public Future<ListCommitDiffsResponse> listCommitDiffs(ListCommitDiffsRequest request, AsyncHandler<ListCommitDiffsRequest,ListCommitDiffsResponse> handler)
Description copied from interface:DevopsAsyncCompares two revisions and lists the differences.Supports comparison between two references or commits.
- Specified by:
listCommitDiffsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listCommits
public Future<ListCommitsResponse> listCommits(ListCommitsRequest request, AsyncHandler<ListCommitsRequest,ListCommitsResponse> handler)
Description copied from interface:DevopsAsyncReturns a list of commits.- Specified by:
listCommitsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listConnections
public Future<ListConnectionsResponse> listConnections(ListConnectionsRequest request, AsyncHandler<ListConnectionsRequest,ListConnectionsResponse> handler)
Description copied from interface:DevopsAsyncReturns a list of connections.- Specified by:
listConnectionsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listDeployArtifacts
public Future<ListDeployArtifactsResponse> listDeployArtifacts(ListDeployArtifactsRequest request, AsyncHandler<ListDeployArtifactsRequest,ListDeployArtifactsResponse> handler)
Description copied from interface:DevopsAsyncReturns a list of deployment artifacts.- Specified by:
listDeployArtifactsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listDeployEnvironments
public Future<ListDeployEnvironmentsResponse> listDeployEnvironments(ListDeployEnvironmentsRequest request, AsyncHandler<ListDeployEnvironmentsRequest,ListDeployEnvironmentsResponse> handler)
Description copied from interface:DevopsAsyncReturns a list of deployment environments.- Specified by:
listDeployEnvironmentsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listDeployPipelines
public Future<ListDeployPipelinesResponse> listDeployPipelines(ListDeployPipelinesRequest request, AsyncHandler<ListDeployPipelinesRequest,ListDeployPipelinesResponse> handler)
Description copied from interface:DevopsAsyncReturns a list of deployment pipelines.- Specified by:
listDeployPipelinesin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listDeployStages
public Future<ListDeployStagesResponse> listDeployStages(ListDeployStagesRequest request, AsyncHandler<ListDeployStagesRequest,ListDeployStagesResponse> handler)
Description copied from interface:DevopsAsyncRetrieves a list of deployment stages.- Specified by:
listDeployStagesin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listDeployments
public Future<ListDeploymentsResponse> listDeployments(ListDeploymentsRequest request, AsyncHandler<ListDeploymentsRequest,ListDeploymentsResponse> handler)
Description copied from interface:DevopsAsyncReturns a list of deployments.- Specified by:
listDeploymentsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listForkSyncStatuses
public Future<ListForkSyncStatusesResponse> listForkSyncStatuses(ListForkSyncStatusesRequest request, AsyncHandler<ListForkSyncStatusesRequest,ListForkSyncStatusesResponse> handler)
Description copied from interface:DevopsAsyncLIST operation that returns a collection of fork sync status objects.- Specified by:
listForkSyncStatusesin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listMirrorRecords
public Future<ListMirrorRecordsResponse> listMirrorRecords(ListMirrorRecordsRequest request, AsyncHandler<ListMirrorRecordsRequest,ListMirrorRecordsResponse> handler)
Description copied from interface:DevopsAsyncReturns a list of mirror entry in history within 30 days.- Specified by:
listMirrorRecordsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listPaths
public Future<ListPathsResponse> listPaths(ListPathsRequest request, AsyncHandler<ListPathsRequest,ListPathsResponse> handler)
Description copied from interface:DevopsAsyncRetrieves a list of files and directories in a repository.- Specified by:
listPathsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listProjectCommitAnalyticsAuthors
public Future<ListProjectCommitAnalyticsAuthorsResponse> listProjectCommitAnalyticsAuthors(ListProjectCommitAnalyticsAuthorsRequest request, AsyncHandler<ListProjectCommitAnalyticsAuthorsRequest,ListProjectCommitAnalyticsAuthorsResponse> handler)
Description copied from interface:DevopsAsyncRetrieve a list of all the Commit Analytics authors.- Specified by:
listProjectCommitAnalyticsAuthorsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listProjects
public Future<ListProjectsResponse> listProjects(ListProjectsRequest request, AsyncHandler<ListProjectsRequest,ListProjectsResponse> handler)
Description copied from interface:DevopsAsyncReturns a list of projects.- Specified by:
listProjectsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listProtectedBranches
public Future<ListProtectedBranchesResponse> listProtectedBranches(ListProtectedBranchesRequest request, AsyncHandler<ListProtectedBranchesRequest,ListProtectedBranchesResponse> handler)
Description copied from interface:DevopsAsyncReturns a list of Protected Branches.- Specified by:
listProtectedBranchesin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listPullRequestActivities
public Future<ListPullRequestActivitiesResponse> listPullRequestActivities(ListPullRequestActivitiesRequest request, AsyncHandler<ListPullRequestActivitiesRequest,ListPullRequestActivitiesResponse> handler)
Description copied from interface:DevopsAsyncList actions that have been taken on a pull request- Specified by:
listPullRequestActivitiesin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listPullRequestAttachments
public Future<ListPullRequestAttachmentsResponse> listPullRequestAttachments(ListPullRequestAttachmentsRequest request, AsyncHandler<ListPullRequestAttachmentsRequest,ListPullRequestAttachmentsResponse> handler)
Description copied from interface:DevopsAsyncList PullRequest level attachments by identifier- Specified by:
listPullRequestAttachmentsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listPullRequestAuthors
public Future<ListPullRequestAuthorsResponse> listPullRequestAuthors(ListPullRequestAuthorsRequest request, AsyncHandler<ListPullRequestAuthorsRequest,ListPullRequestAuthorsResponse> handler)
Description copied from interface:DevopsAsyncRetrieve a list of all the PR authors.- Specified by:
listPullRequestAuthorsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listPullRequestComments
public Future<ListPullRequestCommentsResponse> listPullRequestComments(ListPullRequestCommentsRequest request, AsyncHandler<ListPullRequestCommentsRequest,ListPullRequestCommentsResponse> handler)
Description copied from interface:DevopsAsyncList PullRequest level comments by identifier- Specified by:
listPullRequestCommentsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listPullRequestCommits
public Future<ListPullRequestCommitsResponse> listPullRequestCommits(ListPullRequestCommitsRequest request, AsyncHandler<ListPullRequestCommitsRequest,ListPullRequestCommitsResponse> handler)
Description copied from interface:DevopsAsyncList pull request commits- Specified by:
listPullRequestCommitsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listPullRequestFileChanges
public Future<ListPullRequestFileChangesResponse> listPullRequestFileChanges(ListPullRequestFileChangesRequest request, AsyncHandler<ListPullRequestFileChangesRequest,ListPullRequestFileChangesResponse> handler)
Description copied from interface:DevopsAsyncList pull request file changes- Specified by:
listPullRequestFileChangesin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listPullRequests
public Future<ListPullRequestsResponse> listPullRequests(ListPullRequestsRequest request, AsyncHandler<ListPullRequestsRequest,ListPullRequestsResponse> handler)
Description copied from interface:DevopsAsyncReturns a list of PullRequests.- Specified by:
listPullRequestsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listRefs
public Future<ListRefsResponse> listRefs(ListRefsRequest request, AsyncHandler<ListRefsRequest,ListRefsResponse> handler)
Description copied from interface:DevopsAsyncReturns a list of references.- Specified by:
listRefsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listRepositories
public Future<ListRepositoriesResponse> listRepositories(ListRepositoriesRequest request, AsyncHandler<ListRepositoriesRequest,ListRepositoriesResponse> handler)
Description copied from interface:DevopsAsyncReturns a list of repositories given a compartment ID or a project ID.- Specified by:
listRepositoriesin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listRepositoryCommitAnalyticsAuthors
public Future<ListRepositoryCommitAnalyticsAuthorsResponse> listRepositoryCommitAnalyticsAuthors(ListRepositoryCommitAnalyticsAuthorsRequest request, AsyncHandler<ListRepositoryCommitAnalyticsAuthorsRequest,ListRepositoryCommitAnalyticsAuthorsResponse> handler)
Description copied from interface:DevopsAsyncRetrieve a list of all the Commit Analytics authors.- Specified by:
listRepositoryCommitAnalyticsAuthorsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listTriggers
public Future<ListTriggersResponse> listTriggers(ListTriggersRequest request, AsyncHandler<ListTriggersRequest,ListTriggersResponse> handler)
Description copied from interface:DevopsAsyncReturns a list of triggers.- Specified by:
listTriggersin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequestErrors
public Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
Description copied from interface:DevopsAsyncReturns a list of errors for a given work request.- Specified by:
listWorkRequestErrorsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequestLogs
public Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
Description copied from interface:DevopsAsyncReturns a list of logs for a given work request.- Specified by:
listWorkRequestLogsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequests
public Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
Description copied from interface:DevopsAsyncLists the work requests in a compartment.- Specified by:
listWorkRequestsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
mergePullRequest
public Future<MergePullRequestResponse> mergePullRequest(MergePullRequestRequest request, AsyncHandler<MergePullRequestRequest,MergePullRequestResponse> handler)
Description copied from interface:DevopsAsyncMerge the PullRequest- Specified by:
mergePullRequestin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
mirrorRepository
public Future<MirrorRepositoryResponse> mirrorRepository(MirrorRepositoryRequest request, AsyncHandler<MirrorRepositoryRequest,MirrorRepositoryResponse> handler)
Description copied from interface:DevopsAsyncSynchronize a mirrored repository to the latest version from external providers.- Specified by:
mirrorRepositoryin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
patchPullRequest
public Future<PatchPullRequestResponse> patchPullRequest(PatchPullRequestRequest request, AsyncHandler<PatchPullRequestRequest,PatchPullRequestResponse> handler)
Description copied from interface:DevopsAsyncUpdates the reviewer list of a pull request- Specified by:
patchPullRequestin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
putRepositoryRef
public Future<PutRepositoryRefResponse> putRepositoryRef(PutRepositoryRefRequest request, AsyncHandler<PutRepositoryRefRequest,PutRepositoryRefResponse> handler)
Description copied from interface:DevopsAsyncCreates a new reference or updates an existing one.This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has ‘/’. This will be replaced by "/repositories/{repositoryId}/actions/createOrUpdateGitRef".
- Specified by:
putRepositoryRefin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
reopenPullRequest
public Future<ReopenPullRequestResponse> reopenPullRequest(ReopenPullRequestRequest request, AsyncHandler<ReopenPullRequestRequest,ReopenPullRequestResponse> handler)
Description copied from interface:DevopsAsyncReopen a PullRequest- Specified by:
reopenPullRequestin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
reopenPullRequestComment
public Future<ReopenPullRequestCommentResponse> reopenPullRequestComment(ReopenPullRequestCommentRequest request, AsyncHandler<ReopenPullRequestCommentRequest,ReopenPullRequestCommentResponse> handler)
Description copied from interface:DevopsAsyncReopen a PullRequest Comment- Specified by:
reopenPullRequestCommentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
resolvePullRequestComment
public Future<ResolvePullRequestCommentResponse> resolvePullRequestComment(ResolvePullRequestCommentRequest request, AsyncHandler<ResolvePullRequestCommentRequest,ResolvePullRequestCommentResponse> handler)
Description copied from interface:DevopsAsyncResolve a PullRequest Comment- Specified by:
resolvePullRequestCommentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
reviewPullRequest
public Future<ReviewPullRequestResponse> reviewPullRequest(ReviewPullRequestRequest request, AsyncHandler<ReviewPullRequestRequest,ReviewPullRequestResponse> handler)
Description copied from interface:DevopsAsyncReview a PullRequest- Specified by:
reviewPullRequestin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
scheduleCascadingProjectDeletion
public Future<ScheduleCascadingProjectDeletionResponse> scheduleCascadingProjectDeletion(ScheduleCascadingProjectDeletionRequest request, AsyncHandler<ScheduleCascadingProjectDeletionRequest,ScheduleCascadingProjectDeletionResponse> handler)
Description copied from interface:DevopsAsyncCascading operation that marks Project and child DevOps resources in a DELETING state for a retention period- Specified by:
scheduleCascadingProjectDeletionin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
summarizeProjectRepositoryAnalytics
public Future<SummarizeProjectRepositoryAnalyticsResponse> summarizeProjectRepositoryAnalytics(SummarizeProjectRepositoryAnalyticsRequest request, AsyncHandler<SummarizeProjectRepositoryAnalyticsRequest,SummarizeProjectRepositoryAnalyticsResponse> handler)
Description copied from interface:DevopsAsyncRetrieves repository analytics for a given project.- Specified by:
summarizeProjectRepositoryAnalyticsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
summarizeRepositoryAnalytics
public Future<SummarizeRepositoryAnalyticsResponse> summarizeRepositoryAnalytics(SummarizeRepositoryAnalyticsRequest request, AsyncHandler<SummarizeRepositoryAnalyticsRequest,SummarizeRepositoryAnalyticsResponse> handler)
Description copied from interface:DevopsAsyncRetrieves repository analytics for a given repository.- Specified by:
summarizeRepositoryAnalyticsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
syncRepository
public Future<SyncRepositoryResponse> syncRepository(SyncRepositoryRequest request, AsyncHandler<SyncRepositoryRequest,SyncRepositoryResponse> handler)
Description copied from interface:DevopsAsyncSynchronize a forked repository to the latest version- Specified by:
syncRepositoryin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
triggerDeploymentDryRun
public Future<TriggerDeploymentDryRunResponse> triggerDeploymentDryRun(TriggerDeploymentDryRunRequest request, AsyncHandler<TriggerDeploymentDryRunRequest,TriggerDeploymentDryRunResponse> handler)
Description copied from interface:DevopsAsyncSends a request to trigger a dry run, passing a HelmDiffArgumentCollection This is an internal-only endpoint, access to this endpoint is restricted.Any request from non-internal tenancies will receive 403 Forbidden response.
- Specified by:
triggerDeploymentDryRunin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
unlikePullRequestComment
public Future<UnlikePullRequestCommentResponse> unlikePullRequestComment(UnlikePullRequestCommentRequest request, AsyncHandler<UnlikePullRequestCommentRequest,UnlikePullRequestCommentResponse> handler)
Description copied from interface:DevopsAsyncUnlike a PullRequest comment- Specified by:
unlikePullRequestCommentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
unsubscribePullRequest
public Future<UnsubscribePullRequestResponse> unsubscribePullRequest(UnsubscribePullRequestRequest request, AsyncHandler<UnsubscribePullRequestRequest,UnsubscribePullRequestResponse> handler)
Description copied from interface:DevopsAsyncunsubscribe the PullRequest- Specified by:
unsubscribePullRequestin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateBuildPipeline
public Future<UpdateBuildPipelineResponse> updateBuildPipeline(UpdateBuildPipelineRequest request, AsyncHandler<UpdateBuildPipelineRequest,UpdateBuildPipelineResponse> handler)
Description copied from interface:DevopsAsyncUpdates the build pipeline.- Specified by:
updateBuildPipelinein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateBuildPipelineStage
public Future<UpdateBuildPipelineStageResponse> updateBuildPipelineStage(UpdateBuildPipelineStageRequest request, AsyncHandler<UpdateBuildPipelineStageRequest,UpdateBuildPipelineStageResponse> handler)
Description copied from interface:DevopsAsyncUpdates the stage based on the stage ID provided in the request.- Specified by:
updateBuildPipelineStagein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateBuildRun
public Future<UpdateBuildRunResponse> updateBuildRun(UpdateBuildRunRequest request, AsyncHandler<UpdateBuildRunRequest,UpdateBuildRunResponse> handler)
Description copied from interface:DevopsAsyncUpdates the build run.- Specified by:
updateBuildRunin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateConnection
public Future<UpdateConnectionResponse> updateConnection(UpdateConnectionRequest request, AsyncHandler<UpdateConnectionRequest,UpdateConnectionResponse> handler)
Description copied from interface:DevopsAsyncUpdates the connection.- Specified by:
updateConnectionin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateDeployArtifact
public Future<UpdateDeployArtifactResponse> updateDeployArtifact(UpdateDeployArtifactRequest request, AsyncHandler<UpdateDeployArtifactRequest,UpdateDeployArtifactResponse> handler)
Description copied from interface:DevopsAsyncUpdates the deployment artifact.- Specified by:
updateDeployArtifactin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateDeployEnvironment
public Future<UpdateDeployEnvironmentResponse> updateDeployEnvironment(UpdateDeployEnvironmentRequest request, AsyncHandler<UpdateDeployEnvironmentRequest,UpdateDeployEnvironmentResponse> handler)
Description copied from interface:DevopsAsyncUpdates the deployment environment.- Specified by:
updateDeployEnvironmentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateDeployPipeline
public Future<UpdateDeployPipelineResponse> updateDeployPipeline(UpdateDeployPipelineRequest request, AsyncHandler<UpdateDeployPipelineRequest,UpdateDeployPipelineResponse> handler)
Description copied from interface:DevopsAsyncUpdates the deployment pipeline.- Specified by:
updateDeployPipelinein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateDeployStage
public Future<UpdateDeployStageResponse> updateDeployStage(UpdateDeployStageRequest request, AsyncHandler<UpdateDeployStageRequest,UpdateDeployStageResponse> handler)
Description copied from interface:DevopsAsyncUpdates the deployment stage.- Specified by:
updateDeployStagein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateDeployment
public Future<UpdateDeploymentResponse> updateDeployment(UpdateDeploymentRequest request, AsyncHandler<UpdateDeploymentRequest,UpdateDeploymentResponse> handler)
Description copied from interface:DevopsAsyncUpdates the deployment.- Specified by:
updateDeploymentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateProject
public Future<UpdateProjectResponse> updateProject(UpdateProjectRequest request, AsyncHandler<UpdateProjectRequest,UpdateProjectResponse> handler)
Description copied from interface:DevopsAsyncUpdates the project.- Specified by:
updateProjectin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateProjectNotificationPreference
public Future<UpdateProjectNotificationPreferenceResponse> updateProjectNotificationPreference(UpdateProjectNotificationPreferenceRequest request, AsyncHandler<UpdateProjectNotificationPreferenceRequest,UpdateProjectNotificationPreferenceResponse> handler)
Description copied from interface:DevopsAsyncUpdate the project notification preference for the user passed as path param- Specified by:
updateProjectNotificationPreferencein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateProjectRepositorySettings
public Future<UpdateProjectRepositorySettingsResponse> updateProjectRepositorySettings(UpdateProjectRepositorySettingsRequest request, AsyncHandler<UpdateProjectRepositorySettingsRequest,UpdateProjectRepositorySettingsResponse> handler)
Description copied from interface:DevopsAsyncUpdates the repository settings for a project.- Specified by:
updateProjectRepositorySettingsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updatePullRequest
public Future<UpdatePullRequestResponse> updatePullRequest(UpdatePullRequestRequest request, AsyncHandler<UpdatePullRequestRequest,UpdatePullRequestResponse> handler)
Description copied from interface:DevopsAsyncUpdates the PullRequest- Specified by:
updatePullRequestin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updatePullRequestComment
public Future<UpdatePullRequestCommentResponse> updatePullRequestComment(UpdatePullRequestCommentRequest request, AsyncHandler<UpdatePullRequestCommentRequest,UpdatePullRequestCommentResponse> handler)
Description copied from interface:DevopsAsyncUpdates the PullRequest comment- Specified by:
updatePullRequestCommentin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updatePullRequestNotificationPreference
public Future<UpdatePullRequestNotificationPreferenceResponse> updatePullRequestNotificationPreference(UpdatePullRequestNotificationPreferenceRequest request, AsyncHandler<UpdatePullRequestNotificationPreferenceRequest,UpdatePullRequestNotificationPreferenceResponse> handler)
Description copied from interface:DevopsAsyncUpdate the pull request notification preference for the user passed as path param- Specified by:
updatePullRequestNotificationPreferencein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateRepository
public Future<UpdateRepositoryResponse> updateRepository(UpdateRepositoryRequest request, AsyncHandler<UpdateRepositoryRequest,UpdateRepositoryResponse> handler)
Description copied from interface:DevopsAsyncUpdates the repository.- Specified by:
updateRepositoryin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateRepositoryNotificationPreference
public Future<UpdateRepositoryNotificationPreferenceResponse> updateRepositoryNotificationPreference(UpdateRepositoryNotificationPreferenceRequest request, AsyncHandler<UpdateRepositoryNotificationPreferenceRequest,UpdateRepositoryNotificationPreferenceResponse> handler)
Description copied from interface:DevopsAsyncUpdate the repository notification preference for the user passed as path param- Specified by:
updateRepositoryNotificationPreferencein interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateRepositorySettings
public Future<UpdateRepositorySettingsResponse> updateRepositorySettings(UpdateRepositorySettingsRequest request, AsyncHandler<UpdateRepositorySettingsRequest,UpdateRepositorySettingsResponse> handler)
Description copied from interface:DevopsAsyncUpdates the settings for a repository.- Specified by:
updateRepositorySettingsin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateTrigger
public Future<UpdateTriggerResponse> updateTrigger(UpdateTriggerRequest request, AsyncHandler<UpdateTriggerRequest,UpdateTriggerResponse> handler)
Description copied from interface:DevopsAsyncUpdates the trigger.- Specified by:
updateTriggerin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
validateConnection
public Future<ValidateConnectionResponse> validateConnection(ValidateConnectionRequest request, AsyncHandler<ValidateConnectionRequest,ValidateConnectionResponse> handler)
Description copied from interface:DevopsAsyncReturn whether the credentials of the connection are valid.- Specified by:
validateConnectionin interfaceDevopsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
useRealmSpecificEndpointTemplate
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false
- Parameters:
useOfRealmSpecificEndpointTemplateEnabled- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
-
populateServiceParametersInEndpoint
public final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank.
- Parameters:
endpoint- The endpoint template in userequiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
-
updateBaseEndpoint
public final void updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters.
- Parameters:
endpoint- The updated endpoint to use
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient.This will call
ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
getMinimumClientCommonLibraryVersionFromClient
public Optional<String> getMinimumClientCommonLibraryVersionFromClient()
-
clientCall
protected <REQ extends BmcRequest<?>,RESP extends BmcResponse,RESP_BUILDER extends BmcResponse.Builder<RESP>> ClientCall<REQ,RESP,RESP_BUILDER> clientCall(REQ request, Supplier<RESP_BUILDER> responseBuilder)
-
-