org.drools.base
Class EnabledBoolean

java.lang.Object
  extended by org.drools.base.EnabledBoolean
All Implemented Interfaces:
Externalizable, Serializable, Enabled

public class EnabledBoolean
extends Object
implements Enabled, Externalizable

See Also:
Serialized Form

Field Summary
static Enabled ENABLED_FALSE
           
static Enabled ENABLED_TRUE
           
 
Constructor Summary
EnabledBoolean()
           
EnabledBoolean(boolean value)
           
 
Method Summary
 boolean getValue(Tuple tuple, Rule 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
 

Field Detail

ENABLED_TRUE

public static final Enabled ENABLED_TRUE

ENABLED_FALSE

public static final Enabled ENABLED_FALSE
Constructor Detail

EnabledBoolean

public EnabledBoolean()

EnabledBoolean

public EnabledBoolean(boolean value)
Method Detail

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

getValue

public boolean getValue(Tuple tuple,
                        Rule rule,
                        WorkingMemory workingMemory)
Specified by:
getValue in interface Enabled

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.