Package com.oracle.bmc.devops
Class DevopsWaiters
- java.lang.Object
 - 
- com.oracle.bmc.devops.DevopsWaiters
 
 
- 
@Generated(value="OracleSDKGenerator", comments="API Version: 20210630") public class DevopsWaiters extends ObjectCollection of helper methods to produceWaiters for different resources of Devops.The default configuration used is defined by
com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER. 
- 
- 
Constructor Summary
Constructors Constructor Description DevopsWaiters(ExecutorService executorService, Devops client) 
- 
Method Summary
 
 - 
 
- 
- 
Constructor Detail
- 
DevopsWaiters
public DevopsWaiters(ExecutorService executorService, Devops client)
 
 - 
 
- 
Method Detail
- 
forBuildPipeline
public Waiter<GetBuildPipelineRequest,GetBuildPipelineResponse> forBuildPipeline(GetBuildPipelineRequest request, BuildPipeline.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
 request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
 - a new Waiter instance
 
 
- 
forBuildPipeline
public Waiter<GetBuildPipelineRequest,GetBuildPipelineResponse> forBuildPipeline(GetBuildPipelineRequest request, BuildPipeline.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forBuildPipeline
public Waiter<GetBuildPipelineRequest,GetBuildPipelineResponse> forBuildPipeline(GetBuildPipelineRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, BuildPipeline.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forBuildPipelineStage
public Waiter<GetBuildPipelineStageRequest,GetBuildPipelineStageResponse> forBuildPipelineStage(GetBuildPipelineStageRequest request, BuildPipelineStage.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
 request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
 - a new Waiter instance
 
 
- 
forBuildPipelineStage
public Waiter<GetBuildPipelineStageRequest,GetBuildPipelineStageResponse> forBuildPipelineStage(GetBuildPipelineStageRequest request, BuildPipelineStage.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forBuildPipelineStage
public Waiter<GetBuildPipelineStageRequest,GetBuildPipelineStageResponse> forBuildPipelineStage(GetBuildPipelineStageRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, BuildPipelineStage.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forBuildRun
public Waiter<GetBuildRunRequest,GetBuildRunResponse> forBuildRun(GetBuildRunRequest request, BuildRun.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
 request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
 - a new Waiter instance
 
 
- 
forBuildRun
public Waiter<GetBuildRunRequest,GetBuildRunResponse> forBuildRun(GetBuildRunRequest request, BuildRun.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forBuildRun
public Waiter<GetBuildRunRequest,GetBuildRunResponse> forBuildRun(GetBuildRunRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, BuildRun.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forConnection
public Waiter<GetConnectionRequest,GetConnectionResponse> forConnection(GetConnectionRequest request, Connection.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
 request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
 - a new Waiter instance
 
 
- 
forConnection
public Waiter<GetConnectionRequest,GetConnectionResponse> forConnection(GetConnectionRequest request, Connection.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forConnection
public Waiter<GetConnectionRequest,GetConnectionResponse> forConnection(GetConnectionRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Connection.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forDeployArtifact
public Waiter<GetDeployArtifactRequest,GetDeployArtifactResponse> forDeployArtifact(GetDeployArtifactRequest request, DeployArtifact.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
 request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
 - a new Waiter instance
 
 
- 
forDeployArtifact
public Waiter<GetDeployArtifactRequest,GetDeployArtifactResponse> forDeployArtifact(GetDeployArtifactRequest request, DeployArtifact.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forDeployArtifact
public Waiter<GetDeployArtifactRequest,GetDeployArtifactResponse> forDeployArtifact(GetDeployArtifactRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, DeployArtifact.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forDeployEnvironment
public Waiter<GetDeployEnvironmentRequest,GetDeployEnvironmentResponse> forDeployEnvironment(GetDeployEnvironmentRequest request, DeployEnvironment.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
 request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
 - a new Waiter instance
 
 
- 
forDeployEnvironment
public Waiter<GetDeployEnvironmentRequest,GetDeployEnvironmentResponse> forDeployEnvironment(GetDeployEnvironmentRequest request, DeployEnvironment.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forDeployEnvironment
public Waiter<GetDeployEnvironmentRequest,GetDeployEnvironmentResponse> forDeployEnvironment(GetDeployEnvironmentRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, DeployEnvironment.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forDeployPipeline
public Waiter<GetDeployPipelineRequest,GetDeployPipelineResponse> forDeployPipeline(GetDeployPipelineRequest request, DeployPipeline.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
 request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
 - a new Waiter instance
 
 
- 
forDeployPipeline
public Waiter<GetDeployPipelineRequest,GetDeployPipelineResponse> forDeployPipeline(GetDeployPipelineRequest request, DeployPipeline.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forDeployPipeline
public Waiter<GetDeployPipelineRequest,GetDeployPipelineResponse> forDeployPipeline(GetDeployPipelineRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, DeployPipeline.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forDeployStage
public Waiter<GetDeployStageRequest,GetDeployStageResponse> forDeployStage(GetDeployStageRequest request, DeployStage.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
 request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
 - a new Waiter instance
 
 
- 
forDeployStage
public Waiter<GetDeployStageRequest,GetDeployStageResponse> forDeployStage(GetDeployStageRequest request, DeployStage.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forDeployStage
public Waiter<GetDeployStageRequest,GetDeployStageResponse> forDeployStage(GetDeployStageRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, DeployStage.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forDeployment
public Waiter<GetDeploymentRequest,GetDeploymentResponse> forDeployment(GetDeploymentRequest request, Deployment.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
 request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
 - a new Waiter instance
 
 
- 
forDeployment
public Waiter<GetDeploymentRequest,GetDeploymentResponse> forDeployment(GetDeploymentRequest request, Deployment.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forDeployment
public Waiter<GetDeploymentRequest,GetDeploymentResponse> forDeployment(GetDeploymentRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Deployment.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forProject
public Waiter<GetProjectRequest,GetProjectResponse> forProject(GetProjectRequest request, Project.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
 request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
 - a new Waiter instance
 
 
- 
forProject
public Waiter<GetProjectRequest,GetProjectResponse> forProject(GetProjectRequest request, Project.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forProject
public Waiter<GetProjectRequest,GetProjectResponse> forProject(GetProjectRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Project.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forPullRequest
public Waiter<GetPullRequestRequest,GetPullRequestResponse> forPullRequest(GetPullRequestRequest request, PullRequest.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
 request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
 - a new Waiter instance
 
 
- 
forPullRequest
public Waiter<GetPullRequestRequest,GetPullRequestResponse> forPullRequest(GetPullRequestRequest request, PullRequest.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forPullRequest
public Waiter<GetPullRequestRequest,GetPullRequestResponse> forPullRequest(GetPullRequestRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, PullRequest.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forRepository
public Waiter<GetRepositoryRequest,GetRepositoryResponse> forRepository(GetRepositoryRequest request, Repository.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
 request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
 - a new Waiter instance
 
 
- 
forRepository
public Waiter<GetRepositoryRequest,GetRepositoryResponse> forRepository(GetRepositoryRequest request, Repository.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forRepository
public Waiter<GetRepositoryRequest,GetRepositoryResponse> forRepository(GetRepositoryRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Repository.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forTrigger
public Waiter<GetTriggerRequest,GetTriggerResponse> forTrigger(GetTriggerRequest request, Trigger.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
 request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
 - a new Waiter instance
 
 
- 
forTrigger
public Waiter<GetTriggerRequest,GetTriggerResponse> forTrigger(GetTriggerRequest request, Trigger.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forTrigger
public Waiter<GetTriggerRequest,GetTriggerResponse> forTrigger(GetTriggerRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Trigger.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
forWorkRequest
public Waiter<GetWorkRequestRequest,GetWorkRequestResponse> forWorkRequest(GetWorkRequestRequest request)
Creates a newWaiterusing default configuration.- Parameters:
 request- the request to send- Returns:
 - a new Waiter instance
 
 
- 
forWorkRequest
public Waiter<GetWorkRequestRequest,GetWorkRequestResponse> forWorkRequest(GetWorkRequestRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
 request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- the to use- Returns:
 - a new com.oracle.bmc.waiter.Waiter instance
 
 
 - 
 
 -