public interface Outcome extends UIInfo
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
A logical outcome name.
|
TransactionResolution |
getTransactionResolution()
Indicates how ADFC task flow should resolve an existing ADFM transaction.
|
boolean |
isReentryAllowed()
Specifies if task flow reentry is allowed for outcome dependent reentry.
|
boolean |
setName(java.lang.String name)
Sets the name for this outcome element.
|
boolean |
setReentryAllowed(boolean reentry)
Adds or removes reentry-allowed or reentry-not-allowed element
to the outcome definition.
|
boolean |
setRestoreSavePoint(boolean restore)
Adds or removes restore-save-point element to the outcome definition.
|
boolean |
setTransactionResolution(TransactionResolution transaction)
Sets transaction resolution for this outcome.
|
boolean |
shouldRestoreSavePoint()
Indicates whether a save point should be restored when exiting a task flow
that uses an existing transaction
(that is, 'Requires Existing Transaction' or 'Requires Transaction').
|
getDescription, getDisplayName, getLargeIcon, getSmallIcon, getUIInfo, setDescription, setDisplayName, setLargeIcon, setSmallIcon
getParsingContext, validate
getIdAttribute, setIdAttribute
getNode
java.lang.String getName()
TransactionResolution getTransactionResolution()
TransactionResolution.commit
,
TransactionResolution.rollback
or null, if no transaction
metadata is available.boolean isReentryAllowed()
true
indicates reentry is allowed for this outcome.boolean shouldRestoreSavePoint()
boolean setName(java.lang.String name)
name
- the name for this outcome, must not be nullboolean setTransactionResolution(TransactionResolution transaction)
transaction
- the new value for transaction resolutionboolean setReentryAllowed(boolean reentry)
reentry
- the new value for outcome reentryboolean setRestoreSavePoint(boolean restore)
restore
- the new value for restore save point