public enum TargetState extends java.lang.Enum<TargetState>
state attribute of a target content:
INITIAL, TRANSLATED, REVIEWED and FINAL.| Enum Constant and Description |
|---|
FINAL
Target state: final.
|
INITIAL
Target state: initial.
|
REVIEWED
Target state: reviewed.
|
TRANSLATED
Target state: translated.
|
| Modifier and Type | Method and Description |
|---|---|
static TargetState |
fromString(java.lang.String name)
Converts a given string representing the name of a target state into a
TargetState object. |
java.lang.String |
toString() |
static TargetState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TargetState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetState INITIAL
public static final TargetState TRANSLATED
public static final TargetState REVIEWED
public static final TargetState FINAL
public static TargetState[] values()
for (TargetState c : TargetState.values()) System.out.println(c);
public static TargetState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<TargetState>public static TargetState fromString(java.lang.String name)
TargetState object.name - the name of the target state.InvalidParameterException - if the name is invalid.