Package org.drools.base.base
Class EnabledBoolean
java.lang.Object
org.drools.base.base.EnabledBoolean
- All Implemented Interfaces:
Externalizable,Serializable,Enabled
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetValue(BaseTuple tuple, Declaration[] declarations, RuleImpl rule, ValueResolver valueResolver) voidtoString()voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.drools.base.rule.accessor.Enabled
findDeclarations
-
Field Details
-
ENABLED_TRUE
-
ENABLED_FALSE
-
-
Constructor Details
-
EnabledBoolean
public EnabledBoolean() -
EnabledBoolean
public EnabledBoolean(boolean value)
-
-
Method Details
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
getValue
public boolean getValue(BaseTuple tuple, Declaration[] declarations, RuleImpl rule, ValueResolver valueResolver) -
toString
-