|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.arjuna.mw.wscf.model.sagas.outcomes.CoordinationOutcome
public class CoordinationOutcome
The CoordinationOutcome represents the final outcome of the coordination event. The CompletionStatus and the actual two-phase status value are returned.
| Constructor Summary | |
|---|---|
CoordinationOutcome(CompletionStatus s,
int sagas)
|
|
CoordinationOutcome(int sagas)
|
|
| Method Summary | |
|---|---|
CompletionStatus |
completedStatus()
The state in which the activity completed. |
Object |
data()
Outcome specific information that can be used to determine finer level details about the outcome instance. |
String |
name()
Give a name for this outcome. |
int |
result()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CoordinationOutcome(int sagas)
public CoordinationOutcome(CompletionStatus s,
int sagas)
| Method Detail |
|---|
public final int result()
TwoPhaseResult
public String name()
throws SystemException
name in interface OutcomeSystemException - Thrown if an error occurs.
public CompletionStatus completedStatus()
throws SystemException
completedStatus in interface OutcomeSystemException - Thrown if an error occurs.
public Object data()
throws SystemException
data in interface OutcomeSystemException - Thrown if an error occurs.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||