public static class TypeProcessor.ContextEvaluator extends Object
| Constructor and Description |
|---|
ContextEvaluator()
The default constructor for the context evaluator.
|
| Modifier and Type | Method and Description |
|---|---|
ExpressionEvaluator |
getEvaluator()
This method gets the context value
expression evaluator.
|
String |
getHeader()
This method gets the header name.
|
long |
getTimeframe()
This method returns the timeframe (in milliseconds)
associated with a "Link" context type.
|
Context.Type |
getType()
This method gets the context type.
|
void |
process(Object information,
Map<String,Object> headers,
ActivityType actType)
This method processes the supplied information to extract the
context details for association with the supplied
activity type.
|
void |
setEvaluator(ExpressionEvaluator evaluator)
This method sets the context value's
expression evaluator.
|
void |
setHeader(String header)
This method sets the header name.
|
void |
setTimeframe(long timeframe)
This method sets the timeframe (in milliseconds)
associated with a "Link" context type.
|
void |
setType(Context.Type type)
This method sets the context type.
|
String |
toString() |
public ContextEvaluator()
public Context.Type getType()
public void setType(Context.Type type)
type - The context typepublic long getTimeframe()
public void setTimeframe(long timeframe)
timeframe - The timeframe, or 0 if not setpublic String getHeader()
public void setHeader(String header)
header - The optional headerpublic ExpressionEvaluator getEvaluator()
public void setEvaluator(ExpressionEvaluator evaluator)
evaluator - The expression evaluatorpublic void process(Object information, Map<String,Object> headers, ActivityType actType)
information - The informationheaders - The optional header informationactType - The activity typeCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.