org.hypergraphdb.peer.workflow
Class ActivityResult
java.lang.Object
org.hypergraphdb.peer.workflow.ActivityResult
public final class ActivityResult
- extends java.lang.Object
A simple bean to hold the outcome of an activity once it has finished execution.
The activity might have completed successfully, or it might have failed or it
might have been explicitly canceled at some point. This will be indicated by
its state. In case it failed, there might by some additional information on why
it failed - either an exception that occurred at this peer or due to a remote
exception
- Author:
- Borislav Iordanov
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActivityResult
public ActivityResult(Activity activity)
ActivityResult
public ActivityResult(Activity activity,
java.lang.Throwable exception)
getActivity
public Activity getActivity()
getException
public java.lang.Throwable getException()