public interface ProcessingContextProvider
ProcessingContext used in deployment execution.| Modifier and Type | Method and Description |
|---|---|
ProcessingContext |
addProcessingException(ProcessingContext processingContext,
Throwable exception)
Add the provided exception to the list of exceptions in provided processing context.
|
ProcessingContext |
evaluateStepResults(ProcessingContext processingContext,
ExecutableStepResult stepResults)
Inspect the step results and check if there are any results of interest for the processing context.
|
ProcessingContext |
provideFinalizeProcessingContext(ProcessingContext processingContext)
Provide new finalizing processing context created from the existing one.
|
ProcessingContext |
provideProcessingContext(Command command)
Provide initial processing context.
|
ProcessingContext |
provideProcessingContext(ProcessingContext processingContext)
Provide new processing context created from the existing one.
|
ProcessingContext |
provideRetryProcessingContext(ProcessingContext processingContext,
RetryPoint retryPoint)
Create new retry processing context which will have new pipeline and step to continue from.
|
ProcessingContext provideProcessingContext(Command command) throws ProcessingException
command - The command from which the execution id, and verbs should be used.ProcessingException - in case when the processing context cannot be initialized.ProcessingContext provideProcessingContext(ProcessingContext processingContext)
processingContext - The previously used processing context.ProcessingContext provideFinalizeProcessingContext(ProcessingContext processingContext)
processingContext - The previously used processing context.ProcessingContext addProcessingException(ProcessingContext processingContext, Throwable exception)
processingContext - The old processing contextexception - The exception that has to be added.ProcessingContext evaluateStepResults(ProcessingContext processingContext, ExecutableStepResult stepResults)
processingContext - The old processing contextstepResults - The results from execution of stepProcessingContext provideRetryProcessingContext(ProcessingContext processingContext, RetryPoint retryPoint) throws ProcessingException
processingContext - The old processing context.retryPoint - The retry point which contains info about pipeline id and step id to continue from.ProcessingExceptionCopyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries