public interface StateStore
Modifier and Type | Method and Description |
---|---|
void |
deleteBinaries(List<String> binariesForRemove)
Remove binaries in binary storage.
|
List<String> |
deleteExecution(String executionId)
Deletes an Execution and all dependent entities excep binaries in storage
(moved out to decrease transaction duration).
|
boolean |
executionStateExists(String executionId)
Check if exists the 'Deployment State' by the given id.
|
Optional<ExecutionState> |
findExecutionState(String executionId)
Find the 'Deployment State' by the given id as an optional.
|
List<ExecutionState> |
findTopExecutionStates(Integer limitSize)
Find top execution states with specific limit size.
|
void |
setExecutionState(String executionId,
Status status,
String message)
Set the status of overall 'Deployment Execution'.
|
void |
setPipelineState(String executionId,
String pipelineId,
Status status,
String message)
Set the status for the given pipeline in the scope of the referenced 'Deployment Execution'.
|
void |
setStepState(String executionId,
String pipelineId,
String stepId,
Status status,
String message)
Set the status for the given step in the scope of the referenced 'Deployment Execution'.
|
void setExecutionState(String executionId, Status status, String message)
executionId
- The id of the referenced 'Deployment Execution'.status
- The status to set.message
- The status message.void setPipelineState(String executionId, String pipelineId, Status status, String message)
executionId
- The id of the referenced 'Deployment Execution'.pipelineId
- The id of the pipeline to set the status for.status
- The status to set.message
- The status message.void setStepState(String executionId, String pipelineId, String stepId, Status status, String message)
executionId
- The id of the referenced 'Deployment Execution'.pipelineId
- The id of the pipeline containing the step to set the status for.stepId
- The id of the step to set the status for.status
- The status to set.message
- The status message.Optional<ExecutionState> findExecutionState(String executionId)
executionId
- The id of the referenced 'Deployment Execution'.boolean executionStateExists(String executionId)
executionId
- The id of the referenced 'Deployment Execution'.List<String> deleteExecution(String executionId)
executionId
- executionIdvoid deleteBinaries(List<String> binariesForRemove)
binariesForRemove
- - list of binaries for removeList<ExecutionState> findTopExecutionStates(Integer limitSize)
limitSize
- limit sizeCopyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries