public class MVELPredicate extends Predicate
Constructor and Description |
---|
MVELPredicate() |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(Object event)
This method evaluates the predicate against the supplied
event to determine if it should be processed.
|
String |
getExpression()
This method returns the expression.
|
String |
getScript()
This method returns the script.
|
void |
init()
This method initializes the predicate.
|
void |
setExpression(String expression)
This method sets the expression.
|
void |
setScript(String script)
This method sets the script.
|
public void init() throws Exception
public String getExpression()
public void setExpression(String expression)
expression
- The expressionpublic String getScript()
public void setScript(String script)
script
- The scriptCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.