@Generated(value="OracleSDKGenerator", comments="API Version: 20210630") public interface DevopsAsync extends AutoCloseable
Use the DevOps API to create DevOps projects, configure code repositories, add artifacts to deploy, build and test software applications, configure target deployment environments, and deploy software applications. For more information, see DevOps.
close
void refreshClient()
Rebuilds the client from scratch. Useful to refresh certificates.
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint
- The endpoint of the serice.String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
void setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint
after resolving the
endpoint. If the service is not available in this region, however, an
IllegalArgumentException will be raised.
region
- The region of the service.void setRegion(String regionId)
Sets 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 call setEndpoint
.
regionId
- The public region ID.void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not. Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false”
realmSpecificEndpointTemplateEnabled
- flag to enable the use of realm specific endpoint
templateFuture<ApproveDeploymentResponse> approveDeployment(ApproveDeploymentRequest request, AsyncHandler<ApproveDeploymentRequest,ApproveDeploymentResponse> handler)
Submit stage approval.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CancelBuildRunResponse> cancelBuildRun(CancelBuildRunRequest request, AsyncHandler<CancelBuildRunRequest,CancelBuildRunResponse> handler)
Cancels the build run based on the build run ID provided in the request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CancelDeploymentResponse> cancelDeployment(CancelDeploymentRequest request, AsyncHandler<CancelDeploymentRequest,CancelDeploymentResponse> handler)
Cancels a deployment resource by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CancelScheduledCascadingProjectDeletionResponse> cancelScheduledCascadingProjectDeletion(CancelScheduledCascadingProjectDeletionRequest request, AsyncHandler<CancelScheduledCascadingProjectDeletionRequest,CancelScheduledCascadingProjectDeletionResponse> handler)
Cascading operation that restores Project and child resources from a DELETING state to an active state
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeProjectCompartmentResponse> changeProjectCompartment(ChangeProjectCompartmentRequest request, AsyncHandler<ChangeProjectCompartmentRequest,ChangeProjectCompartmentResponse> handler)
Moves a project resource from one compartment OCID to another.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateBuildPipelineResponse> createBuildPipeline(CreateBuildPipelineRequest request, AsyncHandler<CreateBuildPipelineRequest,CreateBuildPipelineResponse> handler)
Creates a new build pipeline.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateBuildPipelineStageResponse> createBuildPipelineStage(CreateBuildPipelineStageRequest request, AsyncHandler<CreateBuildPipelineStageRequest,CreateBuildPipelineStageResponse> handler)
Creates a new stage.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateBuildRunResponse> createBuildRun(CreateBuildRunRequest request, AsyncHandler<CreateBuildRunRequest,CreateBuildRunResponse> handler)
Starts 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.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateConnectionResponse> createConnection(CreateConnectionRequest request, AsyncHandler<CreateConnectionRequest,CreateConnectionResponse> handler)
Creates a new connection.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateDeployArtifactResponse> createDeployArtifact(CreateDeployArtifactRequest request, AsyncHandler<CreateDeployArtifactRequest,CreateDeployArtifactResponse> handler)
Creates a new deployment artifact.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateDeployEnvironmentResponse> createDeployEnvironment(CreateDeployEnvironmentRequest request, AsyncHandler<CreateDeployEnvironmentRequest,CreateDeployEnvironmentResponse> handler)
Creates a new deployment environment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateDeployPipelineResponse> createDeployPipeline(CreateDeployPipelineRequest request, AsyncHandler<CreateDeployPipelineRequest,CreateDeployPipelineResponse> handler)
Creates a new deployment pipeline.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateDeployStageResponse> createDeployStage(CreateDeployStageRequest request, AsyncHandler<CreateDeployStageRequest,CreateDeployStageResponse> handler)
Creates a new deployment stage.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateDeploymentResponse> createDeployment(CreateDeploymentRequest request, AsyncHandler<CreateDeploymentRequest,CreateDeploymentResponse> handler)
Creates a new deployment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateProjectResponse> createProject(CreateProjectRequest request, AsyncHandler<CreateProjectRequest,CreateProjectResponse> handler)
Creates a new project.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateRepositoryResponse> createRepository(CreateRepositoryRequest request, AsyncHandler<CreateRepositoryRequest,CreateRepositoryResponse> handler)
Creates a new repository.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateTriggerResponse> createTrigger(CreateTriggerRequest request, AsyncHandler<CreateTriggerRequest,CreateTriggerResponse> handler)
Creates a new trigger.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteBuildPipelineResponse> deleteBuildPipeline(DeleteBuildPipelineRequest request, AsyncHandler<DeleteBuildPipelineRequest,DeleteBuildPipelineResponse> handler)
Deletes a build pipeline resource by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteBuildPipelineStageResponse> deleteBuildPipelineStage(DeleteBuildPipelineStageRequest request, AsyncHandler<DeleteBuildPipelineStageRequest,DeleteBuildPipelineStageResponse> handler)
Deletes a stage based on the stage ID provided in the request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteConnectionResponse> deleteConnection(DeleteConnectionRequest request, AsyncHandler<DeleteConnectionRequest,DeleteConnectionResponse> handler)
Deletes a connection resource by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteDeployArtifactResponse> deleteDeployArtifact(DeleteDeployArtifactRequest request, AsyncHandler<DeleteDeployArtifactRequest,DeleteDeployArtifactResponse> handler)
Deletes a deployment artifact resource by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteDeployEnvironmentResponse> deleteDeployEnvironment(DeleteDeployEnvironmentRequest request, AsyncHandler<DeleteDeployEnvironmentRequest,DeleteDeployEnvironmentResponse> handler)
Deletes a deployment environment resource by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteDeployPipelineResponse> deleteDeployPipeline(DeleteDeployPipelineRequest request, AsyncHandler<DeleteDeployPipelineRequest,DeleteDeployPipelineResponse> handler)
Deletes a deployment pipeline resource by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteDeployStageResponse> deleteDeployStage(DeleteDeployStageRequest request, AsyncHandler<DeleteDeployStageRequest,DeleteDeployStageResponse> handler)
Deletes a deployment stage resource by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteProjectResponse> deleteProject(DeleteProjectRequest request, AsyncHandler<DeleteProjectRequest,DeleteProjectResponse> handler)
Deletes a project resource by identifier
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteRefResponse> deleteRef(DeleteRefRequest request, AsyncHandler<DeleteRefRequest,DeleteRefResponse> handler)
Deletes a Repository’s Ref by its name. Returns an error if the name is ambiguous. Can be
disambiguated by using full names like "heads/
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteRepositoryResponse> deleteRepository(DeleteRepositoryRequest request, AsyncHandler<DeleteRepositoryRequest,DeleteRepositoryResponse> handler)
Deletes a repository resource by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteTriggerResponse> deleteTrigger(DeleteTriggerRequest request, AsyncHandler<DeleteTriggerRequest,DeleteTriggerResponse> handler)
Deletes a trigger resource by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetBuildPipelineResponse> getBuildPipeline(GetBuildPipelineRequest request, AsyncHandler<GetBuildPipelineRequest,GetBuildPipelineResponse> handler)
Retrieves a build pipeline by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetBuildPipelineStageResponse> getBuildPipelineStage(GetBuildPipelineStageRequest request, AsyncHandler<GetBuildPipelineStageRequest,GetBuildPipelineStageResponse> handler)
Retrieves a stage based on the stage ID provided in the request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetBuildRunResponse> getBuildRun(GetBuildRunRequest request, AsyncHandler<GetBuildRunRequest,GetBuildRunResponse> handler)
Returns the details of a build run for a given build run ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetCommitResponse> getCommit(GetCommitRequest request, AsyncHandler<GetCommitRequest,GetCommitResponse> handler)
Retrieves a repository’s commit by commit ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetCommitDiffResponse> getCommitDiff(GetCommitDiffRequest request, AsyncHandler<GetCommitDiffRequest,GetCommitDiffResponse> handler)
Compares two revisions for their differences. Supports comparison between two references or commits.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetConnectionResponse> getConnection(GetConnectionRequest request, AsyncHandler<GetConnectionRequest,GetConnectionResponse> handler)
Retrieves a connection by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDeployArtifactResponse> getDeployArtifact(GetDeployArtifactRequest request, AsyncHandler<GetDeployArtifactRequest,GetDeployArtifactResponse> handler)
Retrieves a deployment artifact by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDeployEnvironmentResponse> getDeployEnvironment(GetDeployEnvironmentRequest request, AsyncHandler<GetDeployEnvironmentRequest,GetDeployEnvironmentResponse> handler)
Retrieves a deployment environment by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDeployPipelineResponse> getDeployPipeline(GetDeployPipelineRequest request, AsyncHandler<GetDeployPipelineRequest,GetDeployPipelineResponse> handler)
Retrieves a deployment pipeline by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDeployStageResponse> getDeployStage(GetDeployStageRequest request, AsyncHandler<GetDeployStageRequest,GetDeployStageResponse> handler)
Retrieves a deployment stage by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDeploymentResponse> getDeployment(GetDeploymentRequest request, AsyncHandler<GetDeploymentRequest,GetDeploymentResponse> handler)
Retrieves a deployment by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetFileDiffResponse> getFileDiff(GetFileDiffRequest request, AsyncHandler<GetFileDiffRequest,GetFileDiffResponse> handler)
Gets 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"
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetMirrorRecordResponse> getMirrorRecord(GetMirrorRecordRequest request, AsyncHandler<GetMirrorRecordRequest,GetMirrorRecordResponse> handler)
Returns either current mirror record or last successful mirror record for a specific mirror repository.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetObjectResponse> getObject(GetObjectRequest request, AsyncHandler<GetObjectRequest,GetObjectResponse> handler)
Retrieves blob of specific branch name/commit ID and file path.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetObjectContentResponse> getObjectContent(GetObjectContentRequest request, AsyncHandler<GetObjectContentRequest,GetObjectContentResponse> handler)
Retrieve contents of a specified object.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetProjectResponse> getProject(GetProjectRequest request, AsyncHandler<GetProjectRequest,GetProjectResponse> handler)
Retrieves a project by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetRefResponse> getRef(GetRefRequest request, AsyncHandler<GetRefRequest,GetRefResponse> handler)
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/
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetRepoFileDiffResponse> getRepoFileDiff(GetRepoFileDiffRequest request, AsyncHandler<GetRepoFileDiffRequest,GetRepoFileDiffResponse> handler)
Gets the line-by-line difference between file on different commits.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetRepoFileLinesResponse> getRepoFileLines(GetRepoFileLinesRequest request, AsyncHandler<GetRepoFileLinesRequest,GetRepoFileLinesResponse> handler)
Retrieve lines of a specified file. Supports starting line number and limit.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetRepositoryResponse> getRepository(GetRepositoryRequest request, AsyncHandler<GetRepositoryRequest,GetRepositoryResponse> handler)
Retrieves a repository by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetRepositoryArchiveContentResponse> getRepositoryArchiveContent(GetRepositoryArchiveContentRequest request, AsyncHandler<GetRepositoryArchiveContentRequest,GetRepositoryArchiveContentResponse> handler)
Returns the archived repository information.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetRepositoryFileLinesResponse> getRepositoryFileLines(GetRepositoryFileLinesRequest request, AsyncHandler<GetRepositoryFileLinesRequest,GetRepositoryFileLinesResponse> handler)
Retrieve 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"
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetTriggerResponse> getTrigger(GetTriggerRequest request, AsyncHandler<GetTriggerRequest,GetTriggerResponse> handler)
Retrieves a trigger by identifier.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
Retrieves the status of the work request with the given ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListAuthorsResponse> listAuthors(ListAuthorsRequest request, AsyncHandler<ListAuthorsRequest,ListAuthorsResponse> handler)
Retrieve a list of all the authors.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListBuildPipelineStagesResponse> listBuildPipelineStages(ListBuildPipelineStagesRequest request, AsyncHandler<ListBuildPipelineStagesRequest,ListBuildPipelineStagesResponse> handler)
Returns a list of all stages in a compartment or build pipeline.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListBuildPipelinesResponse> listBuildPipelines(ListBuildPipelinesRequest request, AsyncHandler<ListBuildPipelinesRequest,ListBuildPipelinesResponse> handler)
Returns a list of build pipelines.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListBuildRunsResponse> listBuildRuns(ListBuildRunsRequest request, AsyncHandler<ListBuildRunsRequest,ListBuildRunsResponse> handler)
Returns a list of build run summary.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListCommitDiffsResponse> listCommitDiffs(ListCommitDiffsRequest request, AsyncHandler<ListCommitDiffsRequest,ListCommitDiffsResponse> handler)
Compares two revisions and lists the differences. Supports comparison between two references or commits.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListCommitsResponse> listCommits(ListCommitsRequest request, AsyncHandler<ListCommitsRequest,ListCommitsResponse> handler)
Returns a list of commits.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListConnectionsResponse> listConnections(ListConnectionsRequest request, AsyncHandler<ListConnectionsRequest,ListConnectionsResponse> handler)
Returns a list of connections.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDeployArtifactsResponse> listDeployArtifacts(ListDeployArtifactsRequest request, AsyncHandler<ListDeployArtifactsRequest,ListDeployArtifactsResponse> handler)
Returns a list of deployment artifacts.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDeployEnvironmentsResponse> listDeployEnvironments(ListDeployEnvironmentsRequest request, AsyncHandler<ListDeployEnvironmentsRequest,ListDeployEnvironmentsResponse> handler)
Returns a list of deployment environments.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDeployPipelinesResponse> listDeployPipelines(ListDeployPipelinesRequest request, AsyncHandler<ListDeployPipelinesRequest,ListDeployPipelinesResponse> handler)
Returns a list of deployment pipelines.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDeployStagesResponse> listDeployStages(ListDeployStagesRequest request, AsyncHandler<ListDeployStagesRequest,ListDeployStagesResponse> handler)
Retrieves a list of deployment stages.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDeploymentsResponse> listDeployments(ListDeploymentsRequest request, AsyncHandler<ListDeploymentsRequest,ListDeploymentsResponse> handler)
Returns a list of deployments.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListMirrorRecordsResponse> listMirrorRecords(ListMirrorRecordsRequest request, AsyncHandler<ListMirrorRecordsRequest,ListMirrorRecordsResponse> handler)
Returns a list of mirror entry in history within 30 days.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListPathsResponse> listPaths(ListPathsRequest request, AsyncHandler<ListPathsRequest,ListPathsResponse> handler)
Retrieves a list of files and directories in a repository.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListProjectsResponse> listProjects(ListProjectsRequest request, AsyncHandler<ListProjectsRequest,ListProjectsResponse> handler)
Returns a list of projects.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListRefsResponse> listRefs(ListRefsRequest request, AsyncHandler<ListRefsRequest,ListRefsResponse> handler)
Returns a list of references.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListRepositoriesResponse> listRepositories(ListRepositoriesRequest request, AsyncHandler<ListRepositoriesRequest,ListRepositoriesResponse> handler)
Returns a list of repositories given a compartment ID or a project ID.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListTriggersResponse> listTriggers(ListTriggersRequest request, AsyncHandler<ListTriggersRequest,ListTriggersResponse> handler)
Returns a list of triggers.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
Returns a list of errors for a given work request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
Returns a list of logs for a given work request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
Lists the work requests in a compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<MirrorRepositoryResponse> mirrorRepository(MirrorRepositoryRequest request, AsyncHandler<MirrorRepositoryRequest,MirrorRepositoryResponse> handler)
Synchronize a mirrored repository to the latest version from external providers.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<PutRepositoryRefResponse> putRepositoryRef(PutRepositoryRefRequest request, AsyncHandler<PutRepositoryRefRequest,PutRepositoryRefResponse> handler)
Creates a new reference or updates an existing one.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ScheduleCascadingProjectDeletionResponse> scheduleCascadingProjectDeletion(ScheduleCascadingProjectDeletionRequest request, AsyncHandler<ScheduleCascadingProjectDeletionRequest,ScheduleCascadingProjectDeletionResponse> handler)
Cascading operation that marks Project and child DevOps resources in a DELETING state for a retention period
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateBuildPipelineResponse> updateBuildPipeline(UpdateBuildPipelineRequest request, AsyncHandler<UpdateBuildPipelineRequest,UpdateBuildPipelineResponse> handler)
Updates the build pipeline.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateBuildPipelineStageResponse> updateBuildPipelineStage(UpdateBuildPipelineStageRequest request, AsyncHandler<UpdateBuildPipelineStageRequest,UpdateBuildPipelineStageResponse> handler)
Updates the stage based on the stage ID provided in the request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateBuildRunResponse> updateBuildRun(UpdateBuildRunRequest request, AsyncHandler<UpdateBuildRunRequest,UpdateBuildRunResponse> handler)
Updates the build run.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateConnectionResponse> updateConnection(UpdateConnectionRequest request, AsyncHandler<UpdateConnectionRequest,UpdateConnectionResponse> handler)
Updates the connection.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateDeployArtifactResponse> updateDeployArtifact(UpdateDeployArtifactRequest request, AsyncHandler<UpdateDeployArtifactRequest,UpdateDeployArtifactResponse> handler)
Updates the deployment artifact.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateDeployEnvironmentResponse> updateDeployEnvironment(UpdateDeployEnvironmentRequest request, AsyncHandler<UpdateDeployEnvironmentRequest,UpdateDeployEnvironmentResponse> handler)
Updates the deployment environment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateDeployPipelineResponse> updateDeployPipeline(UpdateDeployPipelineRequest request, AsyncHandler<UpdateDeployPipelineRequest,UpdateDeployPipelineResponse> handler)
Updates the deployment pipeline.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateDeployStageResponse> updateDeployStage(UpdateDeployStageRequest request, AsyncHandler<UpdateDeployStageRequest,UpdateDeployStageResponse> handler)
Updates the deployment stage.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateDeploymentResponse> updateDeployment(UpdateDeploymentRequest request, AsyncHandler<UpdateDeploymentRequest,UpdateDeploymentResponse> handler)
Updates the deployment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateProjectResponse> updateProject(UpdateProjectRequest request, AsyncHandler<UpdateProjectRequest,UpdateProjectResponse> handler)
Updates the project.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateRepositoryResponse> updateRepository(UpdateRepositoryRequest request, AsyncHandler<UpdateRepositoryRequest,UpdateRepositoryResponse> handler)
Updates the repository.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateTriggerResponse> updateTrigger(UpdateTriggerRequest request, AsyncHandler<UpdateTriggerRequest,UpdateTriggerResponse> handler)
Updates the trigger.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ValidateConnectionResponse> validateConnection(ValidateConnectionRequest request, AsyncHandler<ValidateConnectionRequest,ValidateConnectionResponse> handler)
Return whether the credentials of the connection are valid.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Copyright © 2016–2023. All rights reserved.