|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Expression
A non-mutable expression.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Method Summary | |
---|---|
boolean |
canGetValue(ProcessExecutionContext pContext)
Returns true if the expression can be resolved in the given process execution context, false otherwise. |
java.lang.Object |
getValue(ProcessExecutionContext pContext)
Resolves the expression in the given process execution context, and returns the resulting value. |
Field Detail |
---|
static final java.lang.String CLASS_VERSION
Method Detail |
---|
boolean canGetValue(ProcessExecutionContext pContext)
It's legal to call this method with a null argument; true will be returned if the context is not required at all to evaluate the expression.
java.lang.Object getValue(ProcessExecutionContext pContext) throws ProcessException
This method should be called only if the process execution
context is known to contain all the information necessary to
resolve the expression (in other words, if
Expression.canGetValue
returns true).
ProcessException
- if the expression could not be
resolved
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |