public interface PipelineProvider
ExecutableStepFactory
.Modifier and Type | Method and Description |
---|---|
Optional<Pipeline> |
getFinalizePipeline(String action,
Set<String> verbs,
String pipelineId)
Resolve the pipeline which is last in the execution chain and marked as a finalizing pipeline.
|
Optional<Pipeline> |
getNextPipeline(String action,
Set<String> verbs,
String pipelineId)
Resolve the pipeline which comes after the provided pipeline id from the list of pipelines with given
action and verbs.
|
Optional<Step> |
getNextStep(String pipelineId,
String stepId)
Resolve the step which comes after the provided step id from the list of steps which are contained within
pipeline with provided id.
|
Optional<Pipeline> |
getPipeline(String pipelineId)
Search for a pipeline with provided id.
|
List<Pipeline> |
getPipelines()
Get all
Pipeline s. |
List<Pipeline> |
getPipelines(String action,
Set<String> verbs)
Get all pipelines which belongs to given action and verbs.
|
Optional<Step> |
getStep(String pipelineId,
String stepId)
Return
Step based on pipeline id and step id. |
Optional<List<Step>> |
getSteps(String pipelineId)
Get
Step by pipeline id. |
List<Pipeline> getPipelines(String action, Set<String> verbs)
action
- The action filter.verbs
- The verbs filter.Optional<Pipeline> getPipeline(String pipelineId)
pipelineId
- The pipeline idOptional<Pipeline> getNextPipeline(String action, Set<String> verbs, String pipelineId)
action
- The action filter.verbs
- The verbs filter.pipelineId
- The current pipeline id.Optional<Pipeline> getFinalizePipeline(String action, Set<String> verbs, String pipelineId)
action
- The action filter.verbs
- The verbs filter.pipelineId
- The current pipeline id.Optional<Step> getNextStep(String pipelineId, String stepId)
pipelineId
- The pipeline filter.stepId
- The current step.Optional<List<Step>> getSteps(String pipelineId)
Step
by pipeline id.pipelineId
- pipeline identifier.Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries