org.drools.rule.constraint
Enum AnalyzedCondition.BooleanOperator
java.lang.Object
java.lang.Enum<AnalyzedCondition.BooleanOperator>
org.drools.rule.constraint.AnalyzedCondition.BooleanOperator
- All Implemented Interfaces:
- Serializable, Comparable<AnalyzedCondition.BooleanOperator>
- Enclosing class:
- AnalyzedCondition
public static enum AnalyzedCondition.BooleanOperator
- extends Enum<AnalyzedCondition.BooleanOperator>
EQ
public static final AnalyzedCondition.BooleanOperator EQ
NE
public static final AnalyzedCondition.BooleanOperator NE
GT
public static final AnalyzedCondition.BooleanOperator GT
GE
public static final AnalyzedCondition.BooleanOperator GE
LT
public static final AnalyzedCondition.BooleanOperator LT
LE
public static final AnalyzedCondition.BooleanOperator LE
MATCHES
public static final AnalyzedCondition.BooleanOperator MATCHES
CONTAINS
public static final AnalyzedCondition.BooleanOperator CONTAINS
values
public static AnalyzedCondition.BooleanOperator[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (AnalyzedCondition.BooleanOperator c : AnalyzedCondition.BooleanOperator.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AnalyzedCondition.BooleanOperator valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
toString
public String toString()
- Overrides:
toString in class Enum<AnalyzedCondition.BooleanOperator>
isEquality
public boolean isEquality()
needsSameType
public boolean needsSameType()
fromMvelOpCode
public static AnalyzedCondition.BooleanOperator fromMvelOpCode(int opCode)
Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.