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 status
Note that ordering from worst to best simplifies comparisons among
Status values.
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
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 name
NullPointerException - if the argument is null
isWorseThan
public boolean isWorseThan(DFDeploymentStatus.Status other)
isWorseThanOrEqual
public boolean isWorseThanOrEqual(DFDeploymentStatus.Status other)
Copyright © 2012. All Rights Reserved.