public interface ExecutableStep
Modifier and Type | Field and Description |
---|---|
static String |
RETRY_POINT_ELEMENT
Retry point configuration element.
|
Modifier and Type | Method and Description |
---|---|
void |
configure(com.sdl.delivery.configuration.Configuration configuration)
Configure the 'Executable Step' with the given configuration.
|
ExecutableStepResult |
process(ProcessingContext context,
StepDataProvider stepDataProvider)
Actual processing logic to execute in the scope of the 'pipeline step'.
|
default Optional<RetryPoint> |
retryPoint(ProcessingContext processingContext)
In case where a step can retry, then should return the retry point.
|
static final String RETRY_POINT_ELEMENT
void configure(com.sdl.delivery.configuration.Configuration configuration) throws com.sdl.delivery.configuration.ConfigurationException
configuration
- The given configuration.com.sdl.delivery.configuration.ConfigurationException
ExecutableStepResult process(ProcessingContext context, StepDataProvider stepDataProvider) throws ProcessingException
context
- Contains information about current execution.stepDataProvider
- Provides access to get step data for a specific deployment execution.ProcessingException
- When something went wrong executing the processing logic.default Optional<RetryPoint> retryPoint(ProcessingContext processingContext)
processingContext
- The processing context on which decision is madeCopyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries