public class CoordinationOutcome extends Object implements Outcome
Constructor and Description |
---|
CoordinationOutcome(CompletionStatus s,
int twophase) |
CoordinationOutcome(int twophase) |
Modifier and Type | Method and Description |
---|---|
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() |
public CoordinationOutcome(int twophase)
public CoordinationOutcome(CompletionStatus s, int twophase)
public final int result()
TwoPhaseResult
public String name() throws SystemException
name
in interface Outcome
SystemException
- Thrown if an error occurs.public CompletionStatus completedStatus() throws SystemException
completedStatus
in interface Outcome
SystemException
- Thrown if an error occurs.public Object data() throws SystemException
data
in interface Outcome
SystemException
- Thrown if an error occurs.Copyright © 2017 JBoss by Red Hat. All rights reserved.