@Generated(value="OracleSDKGenerator", comments="API Version: 20210630") public class DevopsClient extends BaseSyncClient implements Devops
Modifier and Type | Class and Description |
---|---|
static class |
DevopsClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
String |
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.
|
Optional<String> |
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.
|
static Service |
SERVICE
Service instance for Devops.
|
Constructor and Description |
---|
DevopsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
DevopsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
DevopsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
DevopsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
DevopsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Deprecated.
Use the
builder instead. |
DevopsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
DevopsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
DevopsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
clientCall
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for Devops.
public final String clientCommonLibraryVersion
@Deprecated public DevopsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DevopsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public DevopsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DevopsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public DevopsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DevopsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public DevopsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DevopsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public DevopsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DevopsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
@Deprecated public DevopsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DevopsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
@Deprecated public DevopsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DevopsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
@Deprecated public DevopsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DevopsClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
executorService
- DevopsClient.Builder.executorService
public static DevopsClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
Devops
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.
public void setRegion(String regionId)
Devops
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
.
public ApproveDeploymentResponse approveDeployment(ApproveDeploymentRequest request)
Devops
Submit stage approval.
approveDeployment
in interface Devops
request
- The request object containing the details to sendpublic CancelBuildRunResponse cancelBuildRun(CancelBuildRunRequest request)
Devops
Cancels the build run based on the build run ID provided in the request.
cancelBuildRun
in interface Devops
request
- The request object containing the details to sendpublic CancelDeploymentResponse cancelDeployment(CancelDeploymentRequest request)
Devops
Cancels a deployment resource by identifier.
cancelDeployment
in interface Devops
request
- The request object containing the details to sendpublic CancelScheduledCascadingProjectDeletionResponse cancelScheduledCascadingProjectDeletion(CancelScheduledCascadingProjectDeletionRequest request)
Devops
Cascading operation that restores Project and child resources from a DELETING state to an active state
cancelScheduledCascadingProjectDeletion
in interface Devops
request
- The request object containing the details to sendpublic ChangeProjectCompartmentResponse changeProjectCompartment(ChangeProjectCompartmentRequest request)
Devops
Moves a project resource from one compartment OCID to another.
changeProjectCompartment
in interface Devops
request
- The request object containing the details to sendpublic CreateBuildPipelineResponse createBuildPipeline(CreateBuildPipelineRequest request)
Devops
Creates a new build pipeline.
createBuildPipeline
in interface Devops
request
- The request object containing the details to sendpublic CreateBuildPipelineStageResponse createBuildPipelineStage(CreateBuildPipelineStageRequest request)
Devops
Creates a new stage.
createBuildPipelineStage
in interface Devops
request
- The request object containing the details to sendpublic CreateBuildRunResponse createBuildRun(CreateBuildRunRequest request)
Devops
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.
createBuildRun
in interface Devops
request
- The request object containing the details to sendpublic CreateConnectionResponse createConnection(CreateConnectionRequest request)
Devops
Creates a new connection.
createConnection
in interface Devops
request
- The request object containing the details to sendpublic CreateDeployArtifactResponse createDeployArtifact(CreateDeployArtifactRequest request)
Devops
Creates a new deployment artifact.
createDeployArtifact
in interface Devops
request
- The request object containing the details to sendpublic CreateDeployEnvironmentResponse createDeployEnvironment(CreateDeployEnvironmentRequest request)
Devops
Creates a new deployment environment.
createDeployEnvironment
in interface Devops
request
- The request object containing the details to sendpublic CreateDeployPipelineResponse createDeployPipeline(CreateDeployPipelineRequest request)
Devops
Creates a new deployment pipeline.
createDeployPipeline
in interface Devops
request
- The request object containing the details to sendpublic CreateDeployStageResponse createDeployStage(CreateDeployStageRequest request)
Devops
Creates a new deployment stage.
createDeployStage
in interface Devops
request
- The request object containing the details to sendpublic CreateDeploymentResponse createDeployment(CreateDeploymentRequest request)
Devops
Creates a new deployment.
createDeployment
in interface Devops
request
- The request object containing the details to sendpublic CreateOrUpdateGitRefResponse createOrUpdateGitRef(CreateOrUpdateGitRefRequest request)
Devops
Creates a new reference or updates an existing one.
createOrUpdateGitRef
in interface Devops
request
- The request object containing the details to sendpublic CreateOrUpdateProtectedBranchResponse createOrUpdateProtectedBranch(CreateOrUpdateProtectedBranchRequest request)
Devops
Creates a restriction on a branch that prevents certain actions on it.
createOrUpdateProtectedBranch
in interface Devops
request
- The request object containing the details to sendpublic CreateProjectResponse createProject(CreateProjectRequest request)
Devops
Creates a new project.
createProject
in interface Devops
request
- The request object containing the details to sendpublic CreatePullRequestResponse createPullRequest(CreatePullRequestRequest request)
Devops
Creates a new PullRequest.
createPullRequest
in interface Devops
request
- The request object containing the details to sendpublic CreatePullRequestAttachmentResponse createPullRequestAttachment(CreatePullRequestAttachmentRequest request)
Devops
Creates PullRequest attachment
Note: This operation consumes a stream.
If the stream supports InputStream.mark(int)
and InputStream.reset()
, when a retry is necessary, the stream is reset so it starts at
the beginning (or whatever the stream's position was at the time this operation is called}.
Note this means that if the caller has used InputStream.mark(int)
before,
then the mark will not be the same anymore after this operation, and a subsequent call to
InputStream.reset()
by the caller will reset the stream not to the caller's
mark, but to the position the stream was in when this operation was called.
If the stream is a FileInputStream
, and the stream's FileChannel
position can be changed (like for a regular file), the stream
will be wrapped in such a way that it does provide support for InputStream.mark(int)
and InputStream.reset()
. Then the same
procedure as above is followed. If the stream's FileChannel
position cannot be changed (like for a named pipe), then the stream's contents will be
buffered in memory, as described below.
If the stream does not support InputStream.mark(int)
and InputStream.reset()
, then the stream is wrapped in a BufferedInputStream
, which means the entire contents may be buffered in memory. Then
the same procedure as above is followed.
The contents of the stream, except when the stream is a FileInputStream
whose FileChannel
position can be changed, should be less than 2
GiB in size if retries are used. This is because streams 2 GiB in size or larger do no
guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in
retries and manage retries yourself.
createPullRequestAttachment
in interface Devops
request
- The request object containing the details to sendpublic CreatePullRequestCommentResponse createPullRequestComment(CreatePullRequestCommentRequest request)
Devops
Creates a new PullRequest comment.
createPullRequestComment
in interface Devops
request
- The request object containing the details to sendpublic CreateRepositoryResponse createRepository(CreateRepositoryRequest request)
Devops
Creates a new repository.
createRepository
in interface Devops
request
- The request object containing the details to sendpublic CreateTriggerResponse createTrigger(CreateTriggerRequest request)
Devops
Creates a new trigger.
createTrigger
in interface Devops
request
- The request object containing the details to sendpublic DeclinePullRequestResponse declinePullRequest(DeclinePullRequestRequest request)
Devops
Decline a PullRequest
declinePullRequest
in interface Devops
request
- The request object containing the details to sendpublic DeleteBuildPipelineResponse deleteBuildPipeline(DeleteBuildPipelineRequest request)
Devops
Deletes a build pipeline resource by identifier.
deleteBuildPipeline
in interface Devops
request
- The request object containing the details to sendpublic DeleteBuildPipelineStageResponse deleteBuildPipelineStage(DeleteBuildPipelineStageRequest request)
Devops
Deletes a stage based on the stage ID provided in the request.
deleteBuildPipelineStage
in interface Devops
request
- The request object containing the details to sendpublic DeleteConnectionResponse deleteConnection(DeleteConnectionRequest request)
Devops
Deletes a connection resource by identifier.
deleteConnection
in interface Devops
request
- The request object containing the details to sendpublic DeleteDeployArtifactResponse deleteDeployArtifact(DeleteDeployArtifactRequest request)
Devops
Deletes a deployment artifact resource by identifier.
deleteDeployArtifact
in interface Devops
request
- The request object containing the details to sendpublic DeleteDeployEnvironmentResponse deleteDeployEnvironment(DeleteDeployEnvironmentRequest request)
Devops
Deletes a deployment environment resource by identifier.
deleteDeployEnvironment
in interface Devops
request
- The request object containing the details to sendpublic DeleteDeployPipelineResponse deleteDeployPipeline(DeleteDeployPipelineRequest request)
Devops
Deletes a deployment pipeline resource by identifier.
deleteDeployPipeline
in interface Devops
request
- The request object containing the details to sendpublic DeleteDeployStageResponse deleteDeployStage(DeleteDeployStageRequest request)
Devops
Deletes a deployment stage resource by identifier.
deleteDeployStage
in interface Devops
request
- The request object containing the details to sendpublic DeleteGitRefResponse deleteGitRef(DeleteGitRefRequest request)
Devops
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/
deleteGitRef
in interface Devops
request
- The request object containing the details to sendpublic DeleteProjectResponse deleteProject(DeleteProjectRequest request)
Devops
Deletes a project resource by identifier
deleteProject
in interface Devops
request
- The request object containing the details to sendpublic DeleteProjectRepositorySettingsResponse deleteProjectRepositorySettings(DeleteProjectRepositorySettingsRequest request)
Devops
Removes the custom repository settings configured for a project.
deleteProjectRepositorySettings
in interface Devops
request
- The request object containing the details to sendpublic DeleteProtectedBranchResponse deleteProtectedBranch(DeleteProtectedBranchRequest request)
Devops
Removes the protection from a branch
deleteProtectedBranch
in interface Devops
request
- The request object containing the details to sendpublic DeletePullRequestResponse deletePullRequest(DeletePullRequestRequest request)
Devops
Deletes a PullRequest resource by identifier
deletePullRequest
in interface Devops
request
- The request object containing the details to sendpublic DeletePullRequestAttachmentResponse deletePullRequestAttachment(DeletePullRequestAttachmentRequest request)
Devops
Deletes a PullRequest attachment metadata by identifier
deletePullRequestAttachment
in interface Devops
request
- The request object containing the details to sendpublic DeletePullRequestCommentResponse deletePullRequestComment(DeletePullRequestCommentRequest request)
Devops
Deletes a PullRequest comment by identifier
deletePullRequestComment
in interface Devops
request
- The request object containing the details to sendpublic DeleteRefResponse deleteRef(DeleteRefRequest request)
Devops
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/
public DeleteRepositoryResponse deleteRepository(DeleteRepositoryRequest request)
Devops
Deletes a repository resource by identifier.
deleteRepository
in interface Devops
request
- The request object containing the details to sendpublic DeleteRepositorySettingsResponse deleteRepositorySettings(DeleteRepositorySettingsRequest request)
Devops
Removes the custom settings configured for a repository
deleteRepositorySettings
in interface Devops
request
- The request object containing the details to sendpublic DeleteTriggerResponse deleteTrigger(DeleteTriggerRequest request)
Devops
Deletes a trigger resource by identifier.
deleteTrigger
in interface Devops
request
- The request object containing the details to sendpublic GetBuildPipelineResponse getBuildPipeline(GetBuildPipelineRequest request)
Devops
Retrieves a build pipeline by identifier.
getBuildPipeline
in interface Devops
request
- The request object containing the details to sendpublic GetBuildPipelineStageResponse getBuildPipelineStage(GetBuildPipelineStageRequest request)
Devops
Retrieves a stage based on the stage ID provided in the request.
getBuildPipelineStage
in interface Devops
request
- The request object containing the details to sendpublic GetBuildRunResponse getBuildRun(GetBuildRunRequest request)
Devops
Returns the details of a build run for a given build run ID.
getBuildRun
in interface Devops
request
- The request object containing the details to sendpublic GetCommitResponse getCommit(GetCommitRequest request)
Devops
Retrieves a repository’s commit by commit ID.
public GetCommitDiffResponse getCommitDiff(GetCommitDiffRequest request)
Devops
Compares two revisions for their differences. Supports comparison between two references or commits.
getCommitDiff
in interface Devops
request
- The request object containing the details to sendpublic GetConnectionResponse getConnection(GetConnectionRequest request)
Devops
Retrieves a connection by identifier.
getConnection
in interface Devops
request
- The request object containing the details to sendpublic GetDeployArtifactResponse getDeployArtifact(GetDeployArtifactRequest request)
Devops
Retrieves a deployment artifact by identifier.
getDeployArtifact
in interface Devops
request
- The request object containing the details to sendpublic GetDeployEnvironmentResponse getDeployEnvironment(GetDeployEnvironmentRequest request)
Devops
Retrieves a deployment environment by identifier.
getDeployEnvironment
in interface Devops
request
- The request object containing the details to sendpublic GetDeployPipelineResponse getDeployPipeline(GetDeployPipelineRequest request)
Devops
Retrieves a deployment pipeline by identifier.
getDeployPipeline
in interface Devops
request
- The request object containing the details to sendpublic GetDeployStageResponse getDeployStage(GetDeployStageRequest request)
Devops
Retrieves a deployment stage by identifier.
getDeployStage
in interface Devops
request
- The request object containing the details to sendpublic GetDeploymentResponse getDeployment(GetDeploymentRequest request)
Devops
Retrieves a deployment by identifier.
getDeployment
in interface Devops
request
- The request object containing the details to sendpublic GetFileDiffResponse getFileDiff(GetFileDiffRequest request)
Devops
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"
getFileDiff
in interface Devops
request
- The request object containing the details to sendpublic GetMirrorRecordResponse getMirrorRecord(GetMirrorRecordRequest request)
Devops
Returns either current mirror record or last successful mirror record for a specific mirror repository.
getMirrorRecord
in interface Devops
request
- The request object containing the details to sendpublic GetObjectResponse getObject(GetObjectRequest request)
Devops
Retrieves blob of specific branch name/commit ID and file path.
public GetObjectContentResponse getObjectContent(GetObjectContentRequest request)
Devops
Retrieve contents of a specified object.
getObjectContent
in interface Devops
request
- The request object containing the details to sendpublic GetProjectResponse getProject(GetProjectRequest request)
Devops
Retrieves a project by identifier.
getProject
in interface Devops
request
- The request object containing the details to sendpublic GetProjectNotificationPreferenceResponse getProjectNotificationPreference(GetProjectNotificationPreferenceRequest request)
Devops
Get the project notification preference for the user passed as path param
getProjectNotificationPreference
in interface Devops
request
- The request object containing the details to sendpublic GetProjectRepositorySettingsResponse getProjectRepositorySettings(GetProjectRepositorySettingsRequest request)
Devops
Retrieves a project’s repository settings details.
getProjectRepositorySettings
in interface Devops
request
- The request object containing the details to sendpublic GetPullRequestResponse getPullRequest(GetPullRequestRequest request)
Devops
Gets a PullRequest by identifier
getPullRequest
in interface Devops
request
- The request object containing the details to sendpublic GetPullRequestAttachmentResponse getPullRequestAttachment(GetPullRequestAttachmentRequest request)
Devops
Get PullRequest attachment metadata by identifier
getPullRequestAttachment
in interface Devops
request
- The request object containing the details to sendpublic GetPullRequestAttachmentContentResponse getPullRequestAttachmentContent(GetPullRequestAttachmentContentRequest request)
Devops
Gets the content of the attachment.
getPullRequestAttachmentContent
in interface Devops
request
- The request object containing the details to sendpublic GetPullRequestChangeSummaryMetricsResponse getPullRequestChangeSummaryMetrics(GetPullRequestChangeSummaryMetricsRequest request)
Devops
Get pull request diff summary metric
getPullRequestChangeSummaryMetrics
in interface Devops
request
- The request object containing the details to sendpublic GetPullRequestCommentResponse getPullRequestComment(GetPullRequestCommentRequest request)
Devops
Get PullRequest comment by identifier
getPullRequestComment
in interface Devops
request
- The request object containing the details to sendpublic GetPullRequestNotificationPreferenceResponse getPullRequestNotificationPreference(GetPullRequestNotificationPreferenceRequest request)
Devops
Get the pull request notification preference for the user passed as path param
getPullRequestNotificationPreference
in interface Devops
request
- The request object containing the details to sendpublic GetRefResponse getRef(GetRefRequest request)
Devops
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/
public GetRepoFileDiffResponse getRepoFileDiff(GetRepoFileDiffRequest request)
Devops
Gets the line-by-line difference between file on different commits.
getRepoFileDiff
in interface Devops
request
- The request object containing the details to sendpublic GetRepoFileLinesResponse getRepoFileLines(GetRepoFileLinesRequest request)
Devops
Retrieve lines of a specified file. Supports starting line number and limit.
getRepoFileLines
in interface Devops
request
- The request object containing the details to sendpublic GetRepositoryResponse getRepository(GetRepositoryRequest request)
Devops
Retrieves a repository by identifier.
getRepository
in interface Devops
request
- The request object containing the details to sendpublic GetRepositoryArchiveContentResponse getRepositoryArchiveContent(GetRepositoryArchiveContentRequest request)
Devops
Returns the archived repository information.
getRepositoryArchiveContent
in interface Devops
request
- The request object containing the details to sendpublic GetRepositoryFileLinesResponse getRepositoryFileLines(GetRepositoryFileLinesRequest request)
Devops
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"
getRepositoryFileLines
in interface Devops
request
- The request object containing the details to sendpublic GetRepositoryNotificationPreferenceResponse getRepositoryNotificationPreference(GetRepositoryNotificationPreferenceRequest request)
Devops
Get the repository notification preference for the user passed as path param
getRepositoryNotificationPreference
in interface Devops
request
- The request object containing the details to sendpublic GetRepositorySettingsResponse getRepositorySettings(GetRepositorySettingsRequest request)
Devops
Retrieves a repository’s settings details.
getRepositorySettings
in interface Devops
request
- The request object containing the details to sendpublic GetTriggerResponse getTrigger(GetTriggerRequest request)
Devops
Retrieves a trigger by identifier.
getTrigger
in interface Devops
request
- The request object containing the details to sendpublic GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Devops
Retrieves the status of the work request with the given ID.
getWorkRequest
in interface Devops
request
- The request object containing the details to sendpublic LikePullRequestCommentResponse likePullRequestComment(LikePullRequestCommentRequest request)
Devops
Like a PullRequest comment
likePullRequestComment
in interface Devops
request
- The request object containing the details to sendpublic ListAuthorsResponse listAuthors(ListAuthorsRequest request)
Devops
Retrieve a list of all the authors.
listAuthors
in interface Devops
request
- The request object containing the details to sendpublic ListBuildPipelineStagesResponse listBuildPipelineStages(ListBuildPipelineStagesRequest request)
Devops
Returns a list of all stages in a compartment or build pipeline.
listBuildPipelineStages
in interface Devops
request
- The request object containing the details to sendpublic ListBuildPipelinesResponse listBuildPipelines(ListBuildPipelinesRequest request)
Devops
Returns a list of build pipelines.
listBuildPipelines
in interface Devops
request
- The request object containing the details to sendpublic ListBuildRunSnapshotsResponse listBuildRunSnapshots(ListBuildRunSnapshotsRequest request)
Devops
Returns a list of build run snapshots for a given commit or the latest commit on a pull request if no commit is provided.
listBuildRunSnapshots
in interface Devops
request
- The request object containing the details to sendpublic ListBuildRunsResponse listBuildRuns(ListBuildRunsRequest request)
Devops
Returns a list of build run summary.
listBuildRuns
in interface Devops
request
- The request object containing the details to sendpublic ListCommitDiffsResponse listCommitDiffs(ListCommitDiffsRequest request)
Devops
Compares two revisions and lists the differences. Supports comparison between two references or commits.
listCommitDiffs
in interface Devops
request
- The request object containing the details to sendpublic ListCommitsResponse listCommits(ListCommitsRequest request)
Devops
Returns a list of commits.
listCommits
in interface Devops
request
- The request object containing the details to sendpublic ListConnectionsResponse listConnections(ListConnectionsRequest request)
Devops
Returns a list of connections.
listConnections
in interface Devops
request
- The request object containing the details to sendpublic ListDeployArtifactsResponse listDeployArtifacts(ListDeployArtifactsRequest request)
Devops
Returns a list of deployment artifacts.
listDeployArtifacts
in interface Devops
request
- The request object containing the details to sendpublic ListDeployEnvironmentsResponse listDeployEnvironments(ListDeployEnvironmentsRequest request)
Devops
Returns a list of deployment environments.
listDeployEnvironments
in interface Devops
request
- The request object containing the details to sendpublic ListDeployPipelinesResponse listDeployPipelines(ListDeployPipelinesRequest request)
Devops
Returns a list of deployment pipelines.
listDeployPipelines
in interface Devops
request
- The request object containing the details to sendpublic ListDeployStagesResponse listDeployStages(ListDeployStagesRequest request)
Devops
Retrieves a list of deployment stages.
listDeployStages
in interface Devops
request
- The request object containing the details to sendpublic ListDeploymentsResponse listDeployments(ListDeploymentsRequest request)
Devops
Returns a list of deployments.
listDeployments
in interface Devops
request
- The request object containing the details to sendpublic ListForkSyncStatusesResponse listForkSyncStatuses(ListForkSyncStatusesRequest request)
Devops
LIST operation that returns a collection of fork sync status objects.
listForkSyncStatuses
in interface Devops
request
- The request object containing the details to sendpublic ListMirrorRecordsResponse listMirrorRecords(ListMirrorRecordsRequest request)
Devops
Returns a list of mirror entry in history within 30 days.
listMirrorRecords
in interface Devops
request
- The request object containing the details to sendpublic ListPathsResponse listPaths(ListPathsRequest request)
Devops
Retrieves a list of files and directories in a repository.
public ListProjectCommitAnalyticsAuthorsResponse listProjectCommitAnalyticsAuthors(ListProjectCommitAnalyticsAuthorsRequest request)
Devops
Retrieve a list of all the Commit Analytics authors.
listProjectCommitAnalyticsAuthors
in interface Devops
request
- The request object containing the details to sendpublic ListProjectsResponse listProjects(ListProjectsRequest request)
Devops
Returns a list of projects.
listProjects
in interface Devops
request
- The request object containing the details to sendpublic ListProtectedBranchesResponse listProtectedBranches(ListProtectedBranchesRequest request)
Devops
Returns a list of Protected Branches.
listProtectedBranches
in interface Devops
request
- The request object containing the details to sendpublic ListPullRequestActivitiesResponse listPullRequestActivities(ListPullRequestActivitiesRequest request)
Devops
List actions that have been taken on a pull request
listPullRequestActivities
in interface Devops
request
- The request object containing the details to sendpublic ListPullRequestAttachmentsResponse listPullRequestAttachments(ListPullRequestAttachmentsRequest request)
Devops
List PullRequest level attachments by identifier
listPullRequestAttachments
in interface Devops
request
- The request object containing the details to sendpublic ListPullRequestAuthorsResponse listPullRequestAuthors(ListPullRequestAuthorsRequest request)
Devops
Retrieve a list of all the PR authors.
listPullRequestAuthors
in interface Devops
request
- The request object containing the details to sendpublic ListPullRequestCommentsResponse listPullRequestComments(ListPullRequestCommentsRequest request)
Devops
List PullRequest level comments by identifier
listPullRequestComments
in interface Devops
request
- The request object containing the details to sendpublic ListPullRequestCommitsResponse listPullRequestCommits(ListPullRequestCommitsRequest request)
Devops
List pull request commits
listPullRequestCommits
in interface Devops
request
- The request object containing the details to sendpublic ListPullRequestFileChangesResponse listPullRequestFileChanges(ListPullRequestFileChangesRequest request)
Devops
List pull request file changes
listPullRequestFileChanges
in interface Devops
request
- The request object containing the details to sendpublic ListPullRequestsResponse listPullRequests(ListPullRequestsRequest request)
Devops
Returns a list of PullRequests.
listPullRequests
in interface Devops
request
- The request object containing the details to sendpublic ListRefsResponse listRefs(ListRefsRequest request)
Devops
Returns a list of references.
public ListRepositoriesResponse listRepositories(ListRepositoriesRequest request)
Devops
Returns a list of repositories given a compartment ID or a project ID.
listRepositories
in interface Devops
request
- The request object containing the details to sendpublic ListRepositoryCommitAnalyticsAuthorsResponse listRepositoryCommitAnalyticsAuthors(ListRepositoryCommitAnalyticsAuthorsRequest request)
Devops
Retrieve a list of all the Commit Analytics authors.
listRepositoryCommitAnalyticsAuthors
in interface Devops
request
- The request object containing the details to sendpublic ListTriggersResponse listTriggers(ListTriggersRequest request)
Devops
Returns a list of triggers.
listTriggers
in interface Devops
request
- The request object containing the details to sendpublic ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Devops
Returns a list of errors for a given work request.
listWorkRequestErrors
in interface Devops
request
- The request object containing the details to sendpublic ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Devops
Returns a list of logs for a given work request.
listWorkRequestLogs
in interface Devops
request
- The request object containing the details to sendpublic ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Devops
Lists the work requests in a compartment.
listWorkRequests
in interface Devops
request
- The request object containing the details to sendpublic MergePullRequestResponse mergePullRequest(MergePullRequestRequest request)
Devops
Merge the PullRequest
mergePullRequest
in interface Devops
request
- The request object containing the details to sendpublic MirrorRepositoryResponse mirrorRepository(MirrorRepositoryRequest request)
Devops
Synchronize a mirrored repository to the latest version from external providers.
mirrorRepository
in interface Devops
request
- The request object containing the details to sendpublic PatchPullRequestResponse patchPullRequest(PatchPullRequestRequest request)
Devops
Updates the reviewer list of a pull request
patchPullRequest
in interface Devops
request
- The request object containing the details to sendpublic PutRepositoryRefResponse putRepositoryRef(PutRepositoryRefRequest request)
Devops
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".
putRepositoryRef
in interface Devops
request
- The request object containing the details to sendpublic ReopenPullRequestResponse reopenPullRequest(ReopenPullRequestRequest request)
Devops
Reopen a PullRequest
reopenPullRequest
in interface Devops
request
- The request object containing the details to sendpublic ReviewPullRequestResponse reviewPullRequest(ReviewPullRequestRequest request)
Devops
Review a PullRequest
reviewPullRequest
in interface Devops
request
- The request object containing the details to sendpublic ScheduleCascadingProjectDeletionResponse scheduleCascadingProjectDeletion(ScheduleCascadingProjectDeletionRequest request)
Devops
Cascading operation that marks Project and child DevOps resources in a DELETING state for a retention period
scheduleCascadingProjectDeletion
in interface Devops
request
- The request object containing the details to sendpublic SummarizeProjectRepositoryAnalyticsResponse summarizeProjectRepositoryAnalytics(SummarizeProjectRepositoryAnalyticsRequest request)
Devops
Retrieves repository analytics for a given project.
summarizeProjectRepositoryAnalytics
in interface Devops
request
- The request object containing the details to sendpublic SummarizeRepositoryAnalyticsResponse summarizeRepositoryAnalytics(SummarizeRepositoryAnalyticsRequest request)
Devops
Retrieves repository analytics for a given repository.
summarizeRepositoryAnalytics
in interface Devops
request
- The request object containing the details to sendpublic SyncRepositoryResponse syncRepository(SyncRepositoryRequest request)
Devops
Synchronize a forked repository to the latest version
syncRepository
in interface Devops
request
- The request object containing the details to sendpublic UnlikePullRequestCommentResponse unlikePullRequestComment(UnlikePullRequestCommentRequest request)
Devops
Unlike a PullRequest comment
unlikePullRequestComment
in interface Devops
request
- The request object containing the details to sendpublic UnsubscribePullRequestResponse unsubscribePullRequest(UnsubscribePullRequestRequest request)
Devops
unsubscribe the PullRequest
unsubscribePullRequest
in interface Devops
request
- The request object containing the details to sendpublic UpdateBuildPipelineResponse updateBuildPipeline(UpdateBuildPipelineRequest request)
Devops
Updates the build pipeline.
updateBuildPipeline
in interface Devops
request
- The request object containing the details to sendpublic UpdateBuildPipelineStageResponse updateBuildPipelineStage(UpdateBuildPipelineStageRequest request)
Devops
Updates the stage based on the stage ID provided in the request.
updateBuildPipelineStage
in interface Devops
request
- The request object containing the details to sendpublic UpdateBuildRunResponse updateBuildRun(UpdateBuildRunRequest request)
Devops
Updates the build run.
updateBuildRun
in interface Devops
request
- The request object containing the details to sendpublic UpdateConnectionResponse updateConnection(UpdateConnectionRequest request)
Devops
Updates the connection.
updateConnection
in interface Devops
request
- The request object containing the details to sendpublic UpdateDeployArtifactResponse updateDeployArtifact(UpdateDeployArtifactRequest request)
Devops
Updates the deployment artifact.
updateDeployArtifact
in interface Devops
request
- The request object containing the details to sendpublic UpdateDeployEnvironmentResponse updateDeployEnvironment(UpdateDeployEnvironmentRequest request)
Devops
Updates the deployment environment.
updateDeployEnvironment
in interface Devops
request
- The request object containing the details to sendpublic UpdateDeployPipelineResponse updateDeployPipeline(UpdateDeployPipelineRequest request)
Devops
Updates the deployment pipeline.
updateDeployPipeline
in interface Devops
request
- The request object containing the details to sendpublic UpdateDeployStageResponse updateDeployStage(UpdateDeployStageRequest request)
Devops
Updates the deployment stage.
updateDeployStage
in interface Devops
request
- The request object containing the details to sendpublic UpdateDeploymentResponse updateDeployment(UpdateDeploymentRequest request)
Devops
Updates the deployment.
updateDeployment
in interface Devops
request
- The request object containing the details to sendpublic UpdateProjectResponse updateProject(UpdateProjectRequest request)
Devops
Updates the project.
updateProject
in interface Devops
request
- The request object containing the details to sendpublic UpdateProjectNotificationPreferenceResponse updateProjectNotificationPreference(UpdateProjectNotificationPreferenceRequest request)
Devops
Update the project notification preference for the user passed as path param
updateProjectNotificationPreference
in interface Devops
request
- The request object containing the details to sendpublic UpdateProjectRepositorySettingsResponse updateProjectRepositorySettings(UpdateProjectRepositorySettingsRequest request)
Devops
Updates the repository settings for a project.
updateProjectRepositorySettings
in interface Devops
request
- The request object containing the details to sendpublic UpdatePullRequestResponse updatePullRequest(UpdatePullRequestRequest request)
Devops
Updates the PullRequest
updatePullRequest
in interface Devops
request
- The request object containing the details to sendpublic UpdatePullRequestCommentResponse updatePullRequestComment(UpdatePullRequestCommentRequest request)
Devops
Updates the PullRequest comment
updatePullRequestComment
in interface Devops
request
- The request object containing the details to sendpublic UpdatePullRequestNotificationPreferenceResponse updatePullRequestNotificationPreference(UpdatePullRequestNotificationPreferenceRequest request)
Devops
Update the pull request notification preference for the user passed as path param
updatePullRequestNotificationPreference
in interface Devops
request
- The request object containing the details to sendpublic UpdateRepositoryResponse updateRepository(UpdateRepositoryRequest request)
Devops
Updates the repository.
updateRepository
in interface Devops
request
- The request object containing the details to sendpublic UpdateRepositoryNotificationPreferenceResponse updateRepositoryNotificationPreference(UpdateRepositoryNotificationPreferenceRequest request)
Devops
Update the repository notification preference for the user passed as path param
updateRepositoryNotificationPreference
in interface Devops
request
- The request object containing the details to sendpublic UpdateRepositorySettingsResponse updateRepositorySettings(UpdateRepositorySettingsRequest request)
Devops
Updates the settings for a repository.
updateRepositorySettings
in interface Devops
request
- The request object containing the details to sendpublic UpdateTriggerResponse updateTrigger(UpdateTriggerRequest request)
Devops
Updates the trigger.
updateTrigger
in interface Devops
request
- The request object containing the details to sendpublic ValidateConnectionResponse validateConnection(ValidateConnectionRequest request)
Devops
Return whether the credentials of the connection are valid.
validateConnection
in interface Devops
request
- The request object containing the details to sendpublic DevopsWaiters getWaiters()
Devops
Gets the pre-configured waiters available for resources for this service.
getWaiters
in interface Devops
public DevopsPaginators getPaginators()
Devops
Gets the pre-configured paginators available for list operations in this service which may
return multiple pages of data. These paginators provide an Iterable
interface so that service responses, or resources/records, can be iterated through without
having to manually deal with pagination and page tokens.
getPaginators
in interface Devops
protected ClientConfigurator getDefaultConfigurator()
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to
enable or disable the use of realm-specific endpoint template respectivelypublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or
query parameter as valuepublic final void updateBaseEndpoint(String endpoint)
endpoint
- The updated endpoint to usepublic final void setEndpoint(String endpoint)
public final String getEndpoint()
public final void refreshClient()
HttpClient
. This will call ClientConfigurator
s again, and
can be used to e.g. refresh the SSL certificate.public final void close()
close
in interface AutoCloseable
public String getClientCommonLibraryVersion()
Copyright © 2016–2024. All rights reserved.