public abstract class ProcessorActionHandler extends Object
| Constructor and Description |
|---|
ProcessorActionHandler(ProcessorAction action) |
| Modifier and Type | Method and Description |
|---|---|
ProcessorAction |
getAction() |
List<Issue> |
getIssues() |
void |
init(Processor processor)
This method initialises the process action handler.
|
boolean |
isUsesContent() |
boolean |
isUsesHeaders() |
boolean |
process(BusinessTransaction btxn,
Node node,
Direction direction,
Map<String,?> headers,
Object[] values)
This method processes the supplied information to extract the relevant
details.
|
protected void |
setAction(ProcessorAction action) |
void |
setIssues(List<Issue> issues) |
void |
setUsesContent(boolean usesContent) |
void |
setUsesHeaders(boolean usesHeaders) |
public ProcessorActionHandler(ProcessorAction action)
public ProcessorAction getAction()
protected void setAction(ProcessorAction action)
action - the action to setpublic boolean isUsesHeaders()
public void setUsesHeaders(boolean usesHeaders)
usesHeaders - the usesHeaders to setpublic boolean isUsesContent()
public void setUsesContent(boolean usesContent)
usesContent - the usesContent to setpublic void init(Processor processor)
processor - The processorpublic boolean process(BusinessTransaction btxn, Node node, Direction direction, Map<String,?> headers, Object[] values)
btxn - The business transactionnode - The nodedirection - The directionheaders - The optional headersvalues - The valuesCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.