T - @Api public class AbstractPipelineInterceptor<T> extends Object implements PipelineInterceptor<T>
PipelineInterceptor.ExecutionMode| Constructor and Description |
|---|
AbstractPipelineInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterSteps(PipelineContext context,
T response)
Perform some action before the steps are executed.
|
PipelineInterceptor.ExecutionMode |
beforeSteps(PipelineContext context,
T response)
Perform some action before the steps are executed.
|
String |
getFromStepId()
The id of the first step to intercept.
|
String |
getId()
Get the id for the interceptor.
|
String |
getToStepId()
The id of the last step to intercept.
|
void |
setFromStepId(String fromStepId)
Set id of first step to intercept.
|
void |
setId(String id)
Set the id for this interceptor.
|
void |
setStepId(String stepId)
Shortcut notation for setting the same from and to step id.
|
void |
setToStepId(String toStepId)
Set id of last step to intercept.
|
public String getId()
PipelineInterceptorgetId in interface PipelineInterceptor<T>public void setId(String id)
id - idpublic String getFromStepId()
PipelineInterceptorgetFromStepId in interface PipelineInterceptor<T>@Api public void setFromStepId(String fromStepId)
fromStepId - from step idpublic String getToStepId()
PipelineInterceptorgetToStepId in interface PipelineInterceptor<T>@Api public void setToStepId(String toStepId)
toStepId - to step id@Api public void setStepId(String stepId)
stepId - step idpublic PipelineInterceptor.ExecutionMode beforeSteps(PipelineContext context, T response) throws GeomajasException
PipelineInterceptorbeforeSteps in interface PipelineInterceptor<T>context - pipeline contextresponse - pipeline responseGeomajasException - any exception which may have been thrown during the executionpublic void afterSteps(PipelineContext context, T response) throws GeomajasException
PipelineInterceptorafterSteps in interface PipelineInterceptor<T>context - pipeline contextresponse - pipeline responseGeomajasException - any exception which may have been thrown during the executionCopyright © 2015 Geosparc. All Rights Reserved.