public enum TerminationReasonEnum extends Enum<TerminationReasonEnum>
Enum Constant and Description |
---|
COMPLETED
Task was completed.
|
PLAN_DEACTIVATED
Task was interrupted because parent plan was deactivated.
|
PROCESS_DEACTIVATED
Task was interrupted because parent process was deactivated.
|
PROCESS_MODEL_UPDATE
Task was interrupted because model was updated.
|
TERMINATED_BY_CANCEL
Task was interrupted by a cancel event.
|
TERMINATED_BY_CONDITION
Task was interrupted by a condition.
|
TERMINATED_BY_ERROR
Task was interrupted by an error.
|
TERMINATED_BY_ESCALATION
Task was interrupted by a received escalation.
|
TERMINATED_BY_PARALLEL_COMPLETITION
Task was interrupted by parallel completion.
|
TERMINATED_BY_SIGNAL
Task was interrupted by a received signal.
|
TERMINATED_BY_TIMEOUT
Task was interrupted by a timeout.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns the escalation description.
|
boolean |
isAccomplished()
Returns true if the execution was successfully accomplished.
|
static TerminationReasonEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TerminationReasonEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TerminationReasonEnum COMPLETED
public static final TerminationReasonEnum TERMINATED_BY_TIMEOUT
public static final TerminationReasonEnum TERMINATED_BY_SIGNAL
public static final TerminationReasonEnum TERMINATED_BY_ESCALATION
public static final TerminationReasonEnum TERMINATED_BY_CONDITION
public static final TerminationReasonEnum TERMINATED_BY_ERROR
public static final TerminationReasonEnum TERMINATED_BY_CANCEL
public static final TerminationReasonEnum TERMINATED_BY_PARALLEL_COMPLETITION
public static final TerminationReasonEnum PROCESS_DEACTIVATED
public static final TerminationReasonEnum PLAN_DEACTIVATED
public static final TerminationReasonEnum PROCESS_MODEL_UPDATE
public static TerminationReasonEnum[] values()
for (TerminationReasonEnum c : TerminationReasonEnum.values()) System.out.println(c);
public static TerminationReasonEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getDescription()
public boolean isAccomplished()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.