Enum DeployResponse.Status
- java.lang.Object
-
- java.lang.Enum<DeployResponse.Status>
-
- de.seitenbau.serviceportal.prozesspipeline.model.DeployResponse.Status
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DeployResponse.Status>
- Enclosing class:
- DeployResponse
public static enum DeployResponse.Status extends java.lang.Enum<DeployResponse.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAIL_ALREADY_DEPLOYEDThe process version is already deployed in the stage/zone combination.FAIL_GLOBAL_DUPLICATE_PROCESS_DEFINITION_KEYThe deployment failed because another process has a BPMN with the same process definition key.FAIL_INVALID_STAGEThe FUNCTIONAL_ANALYSIS stage cannot be deployed.FAIL_LOCAL_DUPLICATE_PROCESS_DEFINITION_KEYThe deployment failed because there were duplicate process definition keys used in the model.FAIL_PROCESS_PARAMETER_DEFINITIONS_MISSINGDie Stufe konnte nicht abgeschlossen werden, weil keine Prozessparameterdefinition hinterlegt ist.FAIL_TECHNICAL_ERRORThe deployment failed with a technical (unknown) error.SUCCESSThe deployment was successful.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DeployResponse.StatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DeployResponse.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final DeployResponse.Status SUCCESS
The deployment was successful. #deploymentId is set. #duplicateKeys will contains values if there were previous versions already deployed.
-
FAIL_INVALID_STAGE
public static final DeployResponse.Status FAIL_INVALID_STAGE
The FUNCTIONAL_ANALYSIS stage cannot be deployed.
-
FAIL_ALREADY_DEPLOYED
public static final DeployResponse.Status FAIL_ALREADY_DEPLOYED
The process version is already deployed in the stage/zone combination. #deploymentId is set with the current deployment Id.
-
FAIL_LOCAL_DUPLICATE_PROCESS_DEFINITION_KEY
public static final DeployResponse.Status FAIL_LOCAL_DUPLICATE_PROCESS_DEFINITION_KEY
The deployment failed because there were duplicate process definition keys used in the model. #message is populated with the exception message.
-
FAIL_GLOBAL_DUPLICATE_PROCESS_DEFINITION_KEY
public static final DeployResponse.Status FAIL_GLOBAL_DUPLICATE_PROCESS_DEFINITION_KEY
The deployment failed because another process has a BPMN with the same process definition key. #globalDuplicates is populated with the duplicates found in other models.
-
FAIL_PROCESS_PARAMETER_DEFINITIONS_MISSING
public static final DeployResponse.Status FAIL_PROCESS_PARAMETER_DEFINITIONS_MISSING
Die Stufe konnte nicht abgeschlossen werden, weil keine Prozessparameterdefinition hinterlegt ist. Ergänzen Sie zuerst eine Prozessparameterdefinition.
-
FAIL_TECHNICAL_ERROR
public static final DeployResponse.Status FAIL_TECHNICAL_ERROR
The deployment failed with a technical (unknown) error. #message is populated with the exception message.
-
-
Method Detail
-
values
public static DeployResponse.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DeployResponse.Status c : DeployResponse.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeployResponse.Status valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-