@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<CreateOrUpdateGitRefResponse> createOrUpdateGitRef(CreateOrUpdateGitRefRequest request, AsyncHandler<CreateOrUpdateGitRefRequest,CreateOrUpdateGitRefResponse> 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<CreateOrUpdateProtectedBranchResponse> createOrUpdateProtectedBranch(CreateOrUpdateProtectedBranchRequest request, AsyncHandler<CreateOrUpdateProtectedBranchRequest,CreateOrUpdateProtectedBranchResponse> handler)
Creates a restriction on a branch that prevents certain actions on it.
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<CreatePullRequestResponse> createPullRequest(CreatePullRequestRequest request, AsyncHandler<CreatePullRequestRequest,CreatePullRequestResponse> handler)
Creates a new PullRequest.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreatePullRequestAttachmentResponse> createPullRequestAttachment(CreatePullRequestAttachmentRequest request, AsyncHandler<CreatePullRequestAttachmentRequest,CreatePullRequestAttachmentResponse> handler)
Creates PullRequest attachment
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreatePullRequestCommentResponse> createPullRequestComment(CreatePullRequestCommentRequest request, AsyncHandler<CreatePullRequestCommentRequest,CreatePullRequestCommentResponse> handler)
Creates a new PullRequest comment.
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<DeclinePullRequestResponse> declinePullRequest(DeclinePullRequestRequest request, AsyncHandler<DeclinePullRequestRequest,DeclinePullRequestResponse> handler)
Decline a PullRequest
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<DeleteGitRefResponse> deleteGitRef(DeleteGitRefRequest request, AsyncHandler<DeleteGitRefRequest,DeleteGitRefResponse> 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<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<DeleteProjectRepositorySettingsResponse> deleteProjectRepositorySettings(DeleteProjectRepositorySettingsRequest request, AsyncHandler<DeleteProjectRepositorySettingsRequest,DeleteProjectRepositorySettingsResponse> handler)
Removes the custom repository settings configured for a project.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteProtectedBranchResponse> deleteProtectedBranch(DeleteProtectedBranchRequest request, AsyncHandler<DeleteProtectedBranchRequest,DeleteProtectedBranchResponse> handler)
Removes the protection from a branch
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeletePullRequestResponse> deletePullRequest(DeletePullRequestRequest request, AsyncHandler<DeletePullRequestRequest,DeletePullRequestResponse> handler)
Deletes a PullRequest resource by identifier
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeletePullRequestAttachmentResponse> deletePullRequestAttachment(DeletePullRequestAttachmentRequest request, AsyncHandler<DeletePullRequestAttachmentRequest,DeletePullRequestAttachmentResponse> handler)
Deletes a PullRequest attachment metadata by identifier
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeletePullRequestCommentResponse> deletePullRequestComment(DeletePullRequestCommentRequest request, AsyncHandler<DeletePullRequestCommentRequest,DeletePullRequestCommentResponse> handler)
Deletes a PullRequest comment 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<DeleteRepositorySettingsResponse> deleteRepositorySettings(DeleteRepositorySettingsRequest request, AsyncHandler<DeleteRepositorySettingsRequest,DeleteRepositorySettingsResponse> handler)
Removes the custom settings configured for a repository
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<GetProjectNotificationPreferenceResponse> getProjectNotificationPreference(GetProjectNotificationPreferenceRequest request, AsyncHandler<GetProjectNotificationPreferenceRequest,GetProjectNotificationPreferenceResponse> handler)
Get the project notification preference for the user passed as path param
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetProjectRepositorySettingsResponse> getProjectRepositorySettings(GetProjectRepositorySettingsRequest request, AsyncHandler<GetProjectRepositorySettingsRequest,GetProjectRepositorySettingsResponse> handler)
Retrieves a project’s repository settings details.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetPullRequestResponse> getPullRequest(GetPullRequestRequest request, AsyncHandler<GetPullRequestRequest,GetPullRequestResponse> handler)
Gets a PullRequest by identifier
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetPullRequestAttachmentResponse> getPullRequestAttachment(GetPullRequestAttachmentRequest request, AsyncHandler<GetPullRequestAttachmentRequest,GetPullRequestAttachmentResponse> handler)
Get PullRequest attachment metadata by identifier
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetPullRequestAttachmentContentResponse> getPullRequestAttachmentContent(GetPullRequestAttachmentContentRequest request, AsyncHandler<GetPullRequestAttachmentContentRequest,GetPullRequestAttachmentContentResponse> handler)
Gets the content of the attachment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetPullRequestChangeSummaryMetricsResponse> getPullRequestChangeSummaryMetrics(GetPullRequestChangeSummaryMetricsRequest request, AsyncHandler<GetPullRequestChangeSummaryMetricsRequest,GetPullRequestChangeSummaryMetricsResponse> handler)
Get pull request diff summary metric
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetPullRequestCommentResponse> getPullRequestComment(GetPullRequestCommentRequest request, AsyncHandler<GetPullRequestCommentRequest,GetPullRequestCommentResponse> handler)
Get PullRequest comment by identifier
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetPullRequestNotificationPreferenceResponse> getPullRequestNotificationPreference(GetPullRequestNotificationPreferenceRequest request, AsyncHandler<GetPullRequestNotificationPreferenceRequest,GetPullRequestNotificationPreferenceResponse> handler)
Get the pull request notification preference for the user passed as path param
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)
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}/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/
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<GetRepositoryNotificationPreferenceResponse> getRepositoryNotificationPreference(GetRepositoryNotificationPreferenceRequest request, AsyncHandler<GetRepositoryNotificationPreferenceRequest,GetRepositoryNotificationPreferenceResponse> handler)
Get the repository notification preference for the user passed as path param
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetRepositorySettingsResponse> getRepositorySettings(GetRepositorySettingsRequest request, AsyncHandler<GetRepositorySettingsRequest,GetRepositorySettingsResponse> handler)
Retrieves a repository’s settings details.
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<LikePullRequestCommentResponse> likePullRequestComment(LikePullRequestCommentRequest request, AsyncHandler<LikePullRequestCommentRequest,LikePullRequestCommentResponse> handler)
Like a PullRequest comment
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<ListBuildRunSnapshotsResponse> listBuildRunSnapshots(ListBuildRunSnapshotsRequest request, AsyncHandler<ListBuildRunSnapshotsRequest,ListBuildRunSnapshotsResponse> handler)
Returns a list of build run snapshots for a given commit or the latest commit on a pull request if no commit is provided.
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<ListForkSyncStatusesResponse> listForkSyncStatuses(ListForkSyncStatusesRequest request, AsyncHandler<ListForkSyncStatusesRequest,ListForkSyncStatusesResponse> handler)
LIST operation that returns a collection of fork sync status objects.
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<ListProjectCommitAnalyticsAuthorsResponse> listProjectCommitAnalyticsAuthors(ListProjectCommitAnalyticsAuthorsRequest request, AsyncHandler<ListProjectCommitAnalyticsAuthorsRequest,ListProjectCommitAnalyticsAuthorsResponse> handler)
Retrieve a list of all the Commit Analytics authors.
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<ListProtectedBranchesResponse> listProtectedBranches(ListProtectedBranchesRequest request, AsyncHandler<ListProtectedBranchesRequest,ListProtectedBranchesResponse> handler)
Returns a list of Protected Branches.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListPullRequestActivitiesResponse> listPullRequestActivities(ListPullRequestActivitiesRequest request, AsyncHandler<ListPullRequestActivitiesRequest,ListPullRequestActivitiesResponse> handler)
List actions that have been taken on a pull request
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListPullRequestAttachmentsResponse> listPullRequestAttachments(ListPullRequestAttachmentsRequest request, AsyncHandler<ListPullRequestAttachmentsRequest,ListPullRequestAttachmentsResponse> handler)
List PullRequest level attachments by identifier
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListPullRequestAuthorsResponse> listPullRequestAuthors(ListPullRequestAuthorsRequest request, AsyncHandler<ListPullRequestAuthorsRequest,ListPullRequestAuthorsResponse> handler)
Retrieve a list of all the PR authors.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListPullRequestCommentsResponse> listPullRequestComments(ListPullRequestCommentsRequest request, AsyncHandler<ListPullRequestCommentsRequest,ListPullRequestCommentsResponse> handler)
List PullRequest level comments by identifier
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListPullRequestCommitsResponse> listPullRequestCommits(ListPullRequestCommitsRequest request, AsyncHandler<ListPullRequestCommitsRequest,ListPullRequestCommitsResponse> handler)
List pull request commits
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListPullRequestFileChangesResponse> listPullRequestFileChanges(ListPullRequestFileChangesRequest request, AsyncHandler<ListPullRequestFileChangesRequest,ListPullRequestFileChangesResponse> handler)
List pull request file changes
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListPullRequestsResponse> listPullRequests(ListPullRequestsRequest request, AsyncHandler<ListPullRequestsRequest,ListPullRequestsResponse> handler)
Returns a list of PullRequests.
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<ListRepositoryCommitAnalyticsAuthorsResponse> listRepositoryCommitAnalyticsAuthors(ListRepositoryCommitAnalyticsAuthorsRequest request, AsyncHandler<ListRepositoryCommitAnalyticsAuthorsRequest,ListRepositoryCommitAnalyticsAuthorsResponse> handler)
Retrieve a list of all the Commit Analytics authors.
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<MergePullRequestResponse> mergePullRequest(MergePullRequestRequest request, AsyncHandler<MergePullRequestRequest,MergePullRequestResponse> handler)
Merge the PullRequest
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<PatchPullRequestResponse> patchPullRequest(PatchPullRequestRequest request, AsyncHandler<PatchPullRequestRequest,PatchPullRequestResponse> handler)
Updates the reviewer list of a pull request
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. 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".
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ReopenPullRequestResponse> reopenPullRequest(ReopenPullRequestRequest request, AsyncHandler<ReopenPullRequestRequest,ReopenPullRequestResponse> handler)
Reopen a PullRequest
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ReviewPullRequestResponse> reviewPullRequest(ReviewPullRequestRequest request, AsyncHandler<ReviewPullRequestRequest,ReviewPullRequestResponse> handler)
Review a PullRequest
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<SummarizeProjectRepositoryAnalyticsResponse> summarizeProjectRepositoryAnalytics(SummarizeProjectRepositoryAnalyticsRequest request, AsyncHandler<SummarizeProjectRepositoryAnalyticsRequest,SummarizeProjectRepositoryAnalyticsResponse> handler)
Retrieves repository analytics for a given project.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<SummarizeRepositoryAnalyticsResponse> summarizeRepositoryAnalytics(SummarizeRepositoryAnalyticsRequest request, AsyncHandler<SummarizeRepositoryAnalyticsRequest,SummarizeRepositoryAnalyticsResponse> handler)
Retrieves repository analytics for a given repository.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<SyncRepositoryResponse> syncRepository(SyncRepositoryRequest request, AsyncHandler<SyncRepositoryRequest,SyncRepositoryResponse> handler)
Synchronize a forked repository to the latest version
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UnlikePullRequestCommentResponse> unlikePullRequestComment(UnlikePullRequestCommentRequest request, AsyncHandler<UnlikePullRequestCommentRequest,UnlikePullRequestCommentResponse> handler)
Unlike a PullRequest comment
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UnsubscribePullRequestResponse> unsubscribePullRequest(UnsubscribePullRequestRequest request, AsyncHandler<UnsubscribePullRequestRequest,UnsubscribePullRequestResponse> handler)
unsubscribe the PullRequest
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<UpdateProjectNotificationPreferenceResponse> updateProjectNotificationPreference(UpdateProjectNotificationPreferenceRequest request, AsyncHandler<UpdateProjectNotificationPreferenceRequest,UpdateProjectNotificationPreferenceResponse> handler)
Update the project notification preference for the user passed as path param
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateProjectRepositorySettingsResponse> updateProjectRepositorySettings(UpdateProjectRepositorySettingsRequest request, AsyncHandler<UpdateProjectRepositorySettingsRequest,UpdateProjectRepositorySettingsResponse> handler)
Updates the repository settings for a project.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdatePullRequestResponse> updatePullRequest(UpdatePullRequestRequest request, AsyncHandler<UpdatePullRequestRequest,UpdatePullRequestResponse> handler)
Updates the PullRequest
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdatePullRequestCommentResponse> updatePullRequestComment(UpdatePullRequestCommentRequest request, AsyncHandler<UpdatePullRequestCommentRequest,UpdatePullRequestCommentResponse> handler)
Updates the PullRequest comment
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdatePullRequestNotificationPreferenceResponse> updatePullRequestNotificationPreference(UpdatePullRequestNotificationPreferenceRequest request, AsyncHandler<UpdatePullRequestNotificationPreferenceRequest,UpdatePullRequestNotificationPreferenceResponse> handler)
Update the pull request notification preference for the user passed as path param
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<UpdateRepositoryNotificationPreferenceResponse> updateRepositoryNotificationPreference(UpdateRepositoryNotificationPreferenceRequest request, AsyncHandler<UpdateRepositoryNotificationPreferenceRequest,UpdateRepositoryNotificationPreferenceResponse> handler)
Update the repository notification preference for the user passed as path param
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateRepositorySettingsResponse> updateRepositorySettings(UpdateRepositorySettingsRequest request, AsyncHandler<UpdateRepositorySettingsRequest,UpdateRepositorySettingsResponse> handler)
Updates the settings for a 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–2024. All rights reserved.