public class ContextTerminationReason extends SimpleTerminationReason
| Constructor and Description |
|---|
ContextTerminationReason(java.lang.String contextName,
TerminationReasonEnum reason)
Creates new instance.
|
ContextTerminationReason(java.lang.String contextName,
TerminationReasonEnum reason,
java.lang.String code)
Creates new instance.
|
ContextTerminationReason(java.lang.String contextName,
TerminationReasonEnum reason,
java.lang.String code,
java.lang.Object payload)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContextName()
Returns the context name.
|
java.lang.String |
getDescription()
Returns description of reason why task was terminated.
|
getCode, getPayload, getReason, isAccomplished, toStringpublic ContextTerminationReason(java.lang.String contextName,
TerminationReasonEnum reason,
java.lang.String code,
java.lang.Object payload)
contextName - reason - code - payload - public ContextTerminationReason(java.lang.String contextName,
TerminationReasonEnum reason,
java.lang.String code)
contextName - context namereason - termination reasoncode - public ContextTerminationReason(java.lang.String contextName,
TerminationReasonEnum reason)
contextName - reason - public java.lang.String getContextName()
public java.lang.String getDescription()
TerminationReasongetDescription in interface TerminationReasongetDescription in class SimpleTerminationReasonCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.