org.drools.concurrent
Class UpdateObject

java.lang.Object
  extended by org.drools.concurrent.UpdateObject
All Implemented Interfaces:
java.io.Serializable, Command, Future

public class UpdateObject
extends java.lang.Object
implements Command, Future

See Also:
Serialized Form

Constructor Summary
UpdateObject(FactHandle factHandle, java.lang.Object object)
           
 
Method Summary
 boolean exceptionThrown()
           
 void execute(WorkingMemory workingMemory)
           
 java.lang.Exception getException()
           
 java.lang.Object getObject()
           
 boolean isDone()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateObject

public UpdateObject(FactHandle factHandle,
                    java.lang.Object object)
Method Detail

execute

public void execute(WorkingMemory workingMemory)
Specified by:
execute in interface Command

getObject

public java.lang.Object getObject()
Specified by:
getObject in interface Future

isDone

public boolean isDone()
Specified by:
isDone in interface Future

exceptionThrown

public boolean exceptionThrown()
Specified by:
exceptionThrown in interface Future

getException

public java.lang.Exception getException()
Specified by:
getException in interface Future