org.drools.semantics.base
Class BooleanSemaphore

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

public class BooleanSemaphore
extends Object
implements Semaphore

See Also:
Serialized Form

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

Field Detail

identifier

String identifier

value

boolean value
Constructor Detail

BooleanSemaphore

public BooleanSemaphore(String identifier)
Method Detail

getIdentifier

public String getIdentifier()
Specified by:
getIdentifier in interface Semaphore

setValue

public void setValue(boolean value)

getValue

public boolean getValue()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2005 The Codehaus. All Rights Reserved.