public interface StepDataStore
Modifier and Type | Method and Description |
---|---|
void |
deleteStepDataFromBS(String location)
Search for step data in state store which has binary associated.
|
List<StepData> |
findData(String executionId)
Find the list of 'Step Data' for all the steps in the scope of the referenced 'Deployment Execution'.
|
List<StepData> |
findData(String executionId,
Set<String> keys)
Find the list of 'Step Data' for all the steps in the scope of the referenced 'Deployment Execution' that contain
the properties referenced by the given keys.
|
List<StepData> |
findData(String executionId,
String key)
Find the list of 'Step Data' for all the steps in the scope of the referenced 'Deployment Execution' that contain
a property referenced by the given key.
|
List<StepData> |
findData(String executionId,
String pipelineId,
String stepId)
Find the list of 'Step Data' for the given step in the scope of the referenced 'Deployment Execution'.
|
Optional<StepData> |
findData(String executionId,
String pipelineId,
String stepId,
String key)
Find the 'Step Data' as optional for given step in the scope of the reference 'Deployment Execution'.
|
List<StepData> |
findDataWhereKeyStartsWith(String executionId,
String keyPrefix)
Find the list of 'Step Data' for all the steps in the scope of the referenced 'Deployment Execution' that contain
a property which key starts with the provided key prefix.
|
List<String> |
findStepDataKeys(String executionId,
String keyPrefix)
Find the list of 'Step Data Keys' for all the steps in the scope of the referenced 'Deployment Execution'
that contain a property which key starts with the provided key prefix.
|
List<String> |
getBinaryStepDataForRemove(String executionId)
Search for step data in state store which has binary associated.
|
void |
removeData(String executionId,
String key)
Remove 'Step Data' identified by given key for a particular execution id.
|
void |
removeDataWhereKeyStartsWith(String executionId,
String keyPrefix)
Remove all 'Step Data' identified by given key prefix for a particular execution id.
|
void |
storeData(String executionId,
String pipelineId,
String stepId,
ExecutableStepResult stepResults)
Store some 'Executable Step Results' for the given step in the scope of the referenced 'Deployment Execution'.
|
void storeData(String executionId, String pipelineId, String stepId, ExecutableStepResult stepResults) throws ProcessingException
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.stepResults
- The executable step result step data to be stored.ProcessingException
List<StepData> findData(String executionId, String pipelineId, String stepId)
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.List<StepData> findData(String executionId)
executionId
- The id of the referenced 'Deployment Execution'.List<StepData> findData(String executionId, String key)
executionId
- The id. of the referenced 'Deployment Execution'.key
- The given property key.List<StepData> findDataWhereKeyStartsWith(String executionId, String keyPrefix)
executionId
- The id. of the referenced 'Deployment Execution'.keyPrefix
- The given property key prefix.List<String> findStepDataKeys(String executionId, String keyPrefix)
executionId
- The id. of the referenced 'Deployment Execution'.keyPrefix
- The given property key prefix.void removeData(String executionId, String key)
executionId
- The id. of the referenced 'Deployment Execution'.key
- The given property key.void removeDataWhereKeyStartsWith(String executionId, String keyPrefix)
executionId
- The id. of the referenced 'Deployment Execution'.keyPrefix
- The given property key prefix.List<StepData> findData(String executionId, Set<String> keys)
executionId
- The id. of the referenced 'Deployment Execution'.keys
- The given property keys.Optional<StepData> findData(String executionId, String pipelineId, String stepId, String key)
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.key
- The given property key.List<String> getBinaryStepDataForRemove(String executionId)
executionId
- The execution id where this step data is associated withvoid deleteStepDataFromBS(String location)
location
- The location of binary in storageCopyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries