org.globus.cog.karajan.workflow.futures
Class ForwardArgumentFuture

java.lang.Object
  extended byorg.globus.cog.karajan.workflow.futures.ForwardArgumentFuture
All Implemented Interfaces:
Future

public class ForwardArgumentFuture
extends Object
implements Future


Nested Class Summary
 class ForwardArgumentFuture.Listener
           
 
Constructor Summary
ForwardArgumentFuture(VariableArguments vargs, int index)
           
 
Method Summary
 void addModificationAction(EventListener target, Event event)
          When the future becomes available, send the event to the element.
 boolean available()
           
 void close()
           
 Object getValue()
           
 int hashCode()
           
 boolean isClosed()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ForwardArgumentFuture

public ForwardArgumentFuture(VariableArguments vargs,
                             int index)
Method Detail

close

public void close()
Specified by:
close in interface Future

isClosed

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

getValue

public Object getValue()
                throws VariableNotFoundException
Specified by:
getValue in interface Future
Throws:
VariableNotFoundException

available

public boolean available()

addModificationAction

public void addModificationAction(EventListener target,
                                  Event event)
Description copied from interface: Future
When the future becomes available, send the event to the element.

Specified by:
addModificationAction in interface Future

hashCode

public int hashCode()

toString

public String toString()