public static enum ProcessUpgrade.Outcome extends java.lang.Enum<ProcessUpgrade.Outcome>
Enum Constant and Description |
---|
INCOMPATIBLE_PVS
Indicates that the process could not be updated because its process variables were
not compatible with those of the target model.
|
INSUFFICIENT_PRIVILEGES
Indicates that the process could not be updated because the user performing the
upgrade did not have sufficient privileges.
|
INVALID_PROCESS
Indicates that the process id was invalid.
|
INVALID_STATE
Indicates that the process could not be updated because it was not in a state in
which upgrade is allowed.
|
MODEL_TOO_OLD
Indicates that the process could not be upgraded because it is too old.
|
PROCESS_LOCKED
Indicates that the process could not be updated because it was locked by another
user.
|
SAME_MODEL
Indicates that the process did not need to be upgraded because it was already using
the target process model.
|
SUCCESS
Indicates a successful upgrade.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getText()
Gets a short textual representation of the Outcome.
|
boolean |
isSuccessfulUpgrade()
Gets whether the outcome represents a successful upgrade.
|
static ProcessUpgrade.Outcome |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProcessUpgrade.Outcome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessUpgrade.Outcome SUCCESS
public static final ProcessUpgrade.Outcome SAME_MODEL
public static final ProcessUpgrade.Outcome INVALID_PROCESS
public static final ProcessUpgrade.Outcome INSUFFICIENT_PRIVILEGES
public static final ProcessUpgrade.Outcome INVALID_STATE
public static final ProcessUpgrade.Outcome PROCESS_LOCKED
public static final ProcessUpgrade.Outcome INCOMPATIBLE_PVS
public static final ProcessUpgrade.Outcome MODEL_TOO_OLD
public static ProcessUpgrade.Outcome[] values()
for (ProcessUpgrade.Outcome c : ProcessUpgrade.Outcome.values()) System.out.println(c);
public static ProcessUpgrade.Outcome valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isSuccessfulUpgrade()
public java.lang.String getText()
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.