Package org.drools.core.base
Class EnabledBoolean
- java.lang.Object
-
- org.drools.core.base.EnabledBoolean
-
- All Implemented Interfaces:
Externalizable,Serializable,Enabled
public class EnabledBoolean extends Object implements Enabled, Externalizable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static EnabledENABLED_FALSEstatic EnabledENABLED_TRUE
-
Constructor Summary
Constructors Constructor Description EnabledBoolean()EnabledBoolean(boolean value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetValue(Tuple tuple, Declaration[] declarations, RuleImpl rule, WorkingMemory workingMemory)voidreadExternal(ObjectInput in)StringtoString()voidwriteExternal(ObjectOutput out)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.drools.core.spi.Enabled
findDeclarations
-
-
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
getValue
public boolean getValue(Tuple tuple, Declaration[] declarations, RuleImpl rule, WorkingMemory workingMemory)
-
-