Enum SwingSession.StatusEnum
- java.lang.Object
-
- java.lang.Enum<SwingSession.StatusEnum>
-
- org.webswing.server.services.rest.resources.model.SwingSession.StatusEnum
-
- All Implemented Interfaces:
Serializable,Comparable<SwingSession.StatusEnum>
- Enclosing class:
- SwingSession
public static enum SwingSession.StatusEnum extends Enum<SwingSession.StatusEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXITINGFINISHEDFORCE_KILLEDNOT_STARTEDRUNNING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SwingSession.StatusEnumfromValue(String value)StringtoString()Stringvalue()static SwingSession.StatusEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static SwingSession.StatusEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_STARTED
public static final SwingSession.StatusEnum NOT_STARTED
-
EXITING
public static final SwingSession.StatusEnum EXITING
-
RUNNING
public static final SwingSession.StatusEnum RUNNING
-
FORCE_KILLED
public static final SwingSession.StatusEnum FORCE_KILLED
-
FINISHED
public static final SwingSession.StatusEnum FINISHED
-
-
Method Detail
-
values
public static SwingSession.StatusEnum[] 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 (SwingSession.StatusEnum c : SwingSession.StatusEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SwingSession.StatusEnum 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
-
value
public String value()
-
toString
public String toString()
- Overrides:
toStringin classEnum<SwingSession.StatusEnum>
-
fromValue
public static SwingSession.StatusEnum fromValue(String value)
-
-