public class ContextInterceptorAdapter extends Object implements ContextInterceptor
An adapter of the ContextInterceptor
interface with methods implementations that do nothing.
Constructor and Description |
---|
ContextInterceptorAdapter() |
Modifier and Type | Method and Description |
---|---|
Workflow |
afterGetWorkflow(String id,
Workflow workflow)
Called just after a workflow has been retrieved.
|
ConvertibleNut |
afterProcess(ConvertibleNut nut,
String path)
Called just after the workflow has been executed to retrieve one path.
|
List<ConvertibleNut> |
afterProcess(List<ConvertibleNut> nuts)
Called just after the workflow has been executed.
|
String |
beforeGetWorkflow(String workflowId)
Called just before if going to be retrieved with a specified ID.
|
EngineRequestBuilder |
beforeProcess(EngineRequestBuilder request)
Called just before the workflow is executed.
|
EngineRequestBuilder |
beforeProcess(EngineRequestBuilder request,
String path)
Called just before the workflow is executed to retrieve one path.
|
public String beforeGetWorkflow(String workflowId)
Called just before if going to be retrieved with a specified ID.
beforeGetWorkflow
in interface ContextInterceptor
workflowId
- the retrieved workflow IDpublic Workflow afterGetWorkflow(String id, Workflow workflow)
Called just after a workflow has been retrieved.
afterGetWorkflow
in interface ContextInterceptor
id
- the workflow IDworkflow
- the retrieved workflowpublic EngineRequestBuilder beforeProcess(EngineRequestBuilder request)
Called just before the workflow is executed.
beforeProcess
in interface ContextInterceptor
request
- the request builderpublic EngineRequestBuilder beforeProcess(EngineRequestBuilder request, String path)
Called just before the workflow is executed to retrieve one path.
beforeProcess
in interface ContextInterceptor
request
- the request builderpath
- the pathpublic List<ConvertibleNut> afterProcess(List<ConvertibleNut> nuts)
afterProcess
in interface ContextInterceptor
nuts
- the nutsContext
should return or give to the next interceptorpublic ConvertibleNut afterProcess(ConvertibleNut nut, String path)
afterProcess
in interface ContextInterceptor
nut
- the nutpath
- the pathContext
should return or give to the next interceptorCopyright © 2012-2015. All Rights Reserved.