Package org.glassfish.deployment.client
Enum DFDeploymentStatus.Status
- java.lang.Object
-
- java.lang.Enum<DFDeploymentStatus.Status>
-
- org.glassfish.deployment.client.DFDeploymentStatus.Status
-
- All Implemented Interfaces:
Serializable,Comparable<DFDeploymentStatus.Status>
- Enclosing class:
- DFDeploymentStatus
public static enum DFDeploymentStatus.Status extends Enum<DFDeploymentStatus.Status>
Possible status for a stage or overall deployment statusNote that ordering from worst to best simplifies comparisons among Status values.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILURENOTINITIALIZEDSUCCESSWARNING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisWorseThan(DFDeploymentStatus.Status other)booleanisWorseThanOrEqual(DFDeploymentStatus.Status other)static DFDeploymentStatus.StatusvalueOf(String name)Returns the enum constant of this type with the specified name.static DFDeploymentStatus.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FAILURE
public static final DFDeploymentStatus.Status FAILURE
-
WARNING
public static final DFDeploymentStatus.Status WARNING
-
SUCCESS
public static final DFDeploymentStatus.Status SUCCESS
-
NOTINITIALIZED
public static final DFDeploymentStatus.Status NOTINITIALIZED
-
-
Method Detail
-
values
public static DFDeploymentStatus.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 (DFDeploymentStatus.Status c : DFDeploymentStatus.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 DFDeploymentStatus.Status valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isWorseThan
public boolean isWorseThan(DFDeploymentStatus.Status other)
-
isWorseThanOrEqual
public boolean isWorseThanOrEqual(DFDeploymentStatus.Status other)
-
-