public abstract class ExpressionFilter extends Filter
Expression
objects) yields true.Expression
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
ExpressionFilter() |
Modifier and Type | Method and Description |
---|---|
void |
configure(java.lang.String pOperator,
java.lang.Object pConfiguration)
Configures this ExpressionFilter using the given configuration
object.
|
boolean |
equals(java.lang.Object pObject)
Returns true if the given object is an ExpressionFilter with the
same operator and operands.
|
Expression[] |
getOperands()
Returns the operands.
|
java.lang.String |
getOperator()
Returns the operator.
|
void |
initialize(java.lang.String pOperator,
Expression[] pOperands)
Initializes this ExpressionFilter, given its operator and
operands.
|
protected boolean |
operandsEquals(ExpressionFilter pFilter)
Returns true if the given ExpressionFilter has the same operands
as this ExpressionFilter.
|
void |
setOperands(Expression[] pOperands)
Sets the operands.
|
void |
setOperator(java.lang.String pOperator)
Sets the operator.
|
java.lang.String |
toString()
Returns the String representation of the filter.
|
andFilters, andFilters, assumeFalse, assumeTrue, createProcessInstanceQuery, createSubjectQuery, evaluate, getResourceBundle, getSubjectType, hashCode, implies, isCacheable, negate, orFilters, orFilters, setCacheable, test
public java.lang.String getOperator()
public void setOperator(java.lang.String pOperator)
public Expression[] getOperands()
public void setOperands(Expression[] pOperands)
public void configure(java.lang.String pOperator, java.lang.Object pConfiguration) throws ProcessException, java.lang.UnsupportedOperationException
This operation is optional. This default implementation throws an UnsupportedOperationException.
ProcessException
- if the filter could not be configured
- for example, because some of the required properties are
missing from the configurationjava.lang.UnsupportedOperationException
- if this filter is not
configurablepublic void initialize(java.lang.String pOperator, Expression[] pOperands) throws ProcessException
ProcessException
- if the filter could not be
initializedpublic boolean equals(java.lang.Object pObject)
equals
in class java.lang.Object
protected boolean operandsEquals(ExpressionFilter pFilter)
public java.lang.String toString()
toString
in class java.lang.Object