Enum Preview.StateEnum
- java.lang.Object
-
- java.lang.Enum<Preview.StateEnum>
-
- org.genesys.amphibian.client.model.Preview.StateEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Preview.StateEnum>
- Enclosing class:
- Preview
public static enum Preview.StateEnum extends Enum<Preview.StateEnum>
Gets or Sets state
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Preview.StateEnumfromValue(String value)StringgetValue()StringtoString()static Preview.StateEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Preview.StateEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPLOADED
public static final Preview.StateEnum UPLOADED
-
READING
public static final Preview.StateEnum READING
-
READY
public static final Preview.StateEnum READY
-
FAILED
public static final Preview.StateEnum FAILED
-
-
Method Detail
-
values
public static Preview.StateEnum[] 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 (Preview.StateEnum c : Preview.StateEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Preview.StateEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<Preview.StateEnum>
-
fromValue
public static Preview.StateEnum fromValue(String value)
-
-