public class MVEL extends Predicate
Modifier and Type | Field and Description |
---|---|
static String |
RTGOV_POLICY
The RTGov security policy.
|
Constructor and Description |
---|
MVEL()
This is the default constructor for the MVEL predicate.
|
MVEL(String expr)
This constructor initializes the expression for the MVEL
predicate.
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(ActiveCollectionContext context,
Object item)
This method evaluates the supplied item against
the predicate.
|
String |
getExpression()
This method gets the expression.
|
void |
setExpression(String expr)
This method sets the expression.
|
String |
toString() |
public static final String RTGOV_POLICY
public MVEL()
public MVEL(String expr)
expr
- The predicatepublic void setExpression(String expr)
expr
- The expressionpublic String getExpression()
public boolean evaluate(ActiveCollectionContext context, Object item)
Copyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.