public class DeploymentLogEnumStatus
extends java.lang.Object
implements java.io.Serializable
This class holds the value of the DeploymentLog.status property. That property is an "enumerated" type, meaning that it has a predefined set of allowed values. Each of those values has an associated String "tag", but the values themselves are instances of this class. The instances can be retrieved by calling the getter method corresonding to the desired value. Each value is a singleton, meaning that "==" and "equals" will have the same result when testing for equlity. The following describes which getter should be used to obtain a value representing a particular tag:
Tag | Getter |
---|---|
Error | getError() |
Successful | getSuccessful() |
Cancelled | getCancelled() |
Constructor and Description |
---|
DeploymentLogEnumStatus() |
DeploymentLogEnumStatus(java.lang.String pTag,
java.lang.Object pValue) |
Modifier and Type | Method and Description |
---|---|
static DeploymentLogEnumStatus |
getCancelled()
Returns the instance representing the String value "Cancelled"
|
static DeploymentLogEnumStatus |
getError()
Returns the instance representing the String value "Error"
|
static DeploymentLogEnumStatus |
getSuccessful()
Returns the instance representing the String value "Successful"
|
java.lang.String |
toString()
Returns the String value represented by this instance
|
public DeploymentLogEnumStatus(java.lang.String pTag, java.lang.Object pValue)
public DeploymentLogEnumStatus()
public static DeploymentLogEnumStatus getError()
Returns the instance representing the String value "Error"
public static DeploymentLogEnumStatus getSuccessful()
Returns the instance representing the String value "Successful"
public static DeploymentLogEnumStatus getCancelled()
Returns the instance representing the String value "Cancelled"
public java.lang.String toString()
Returns the String value represented by this instance
toString
in class java.lang.Object