org.drools.semantics.base
Class BooleanSemaphore

java.lang.Object
  extended byorg.drools.semantics.base.BooleanSemaphore
All Implemented Interfaces:
Semaphore, java.io.Serializable

public class BooleanSemaphore
extends java.lang.Object
implements Semaphore

See Also:
Serialized Form
 

Constructor Summary
BooleanSemaphore(java.lang.String identifier)
           
 
Method Summary
 java.lang.String getIdentifier()
           
 boolean getValue()
           
 void setValue(boolean value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanSemaphore

public BooleanSemaphore(java.lang.String identifier)
Method Detail

getIdentifier

public java.lang.String getIdentifier()
Specified by:
getIdentifier in interface Semaphore

setValue

public void setValue(boolean value)

getValue

public boolean getValue()

toString

public java.lang.String toString()