public class TridionRollbackStep extends TridionTransactionalExecutableStep
This step rollbacks the transaction and removes transaction log from StepDataProvider.
retryPoint
RETRY_POINT_ELEMENT
Constructor and Description |
---|
TridionRollbackStep() |
Modifier and Type | Method and Description |
---|---|
ExecutableStepResult |
process(ProcessingContext context,
StepDataProvider stepDataProvider)
Actual processing logic to execute in the scope of the 'pipeline step'.
|
Optional<RetryPoint> |
retryPoint(ProcessingContext processingContext)
In case where a step can retry, then should return the retry point.
|
configure
public Optional<RetryPoint> retryPoint(ProcessingContext processingContext)
ExecutableStep
retryPoint
in interface ExecutableStep
retryPoint
in class TridionTransactionalExecutableStep
processingContext
- The processing context on which decision is madepublic ExecutableStepResult process(ProcessingContext context, StepDataProvider stepDataProvider) throws ProcessingException
ExecutableStep
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.Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries