Package fi.moprim.tmd.sdk.model
Enum TmdStartReturnCode
- java.lang.Object
-
- java.lang.Enum<TmdStartReturnCode>
-
- fi.moprim.tmd.sdk.model.TmdStartReturnCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TmdStartReturnCode>
public enum TmdStartReturnCode extends java.lang.Enum<TmdStartReturnCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALREADY_RUNNINGNOT_CONFIGUREDNOT_INITIALIZEDSTARTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TmdStartReturnCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TmdStartReturnCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALREADY_RUNNING
public static final TmdStartReturnCode ALREADY_RUNNING
-
NOT_INITIALIZED
public static final TmdStartReturnCode NOT_INITIALIZED
-
NOT_CONFIGURED
public static final TmdStartReturnCode NOT_CONFIGURED
-
STARTED
public static final TmdStartReturnCode STARTED
-
-
Method Detail
-
values
public static TmdStartReturnCode[] 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 (TmdStartReturnCode c : TmdStartReturnCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TmdStartReturnCode valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-