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 Enabled
ENABLED_FALSE
static Enabled
ENABLED_TRUE
-
Constructor Summary
Constructors Constructor Description EnabledBoolean()
EnabledBoolean(boolean value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getValue(Tuple tuple, Declaration[] declarations, RuleImpl rule, WorkingMemory workingMemory)
void
readExternal(ObjectInput in)
String
toString()
void
writeExternal(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:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
getValue
public boolean getValue(Tuple tuple, Declaration[] declarations, RuleImpl rule, WorkingMemory workingMemory)
-
-