public enum ApplicationStatus extends java.lang.Enum<ApplicationStatus>
Enum Constant and Description |
---|
ACTIVE
Application is active, and in-use.
|
DEPRECATED
Application is deprecated, and will be made inactive in the future.
|
INACTIVE
Application is inactive, and not in-use.
|
Modifier and Type | Method and Description |
---|---|
static ApplicationStatus |
parse(java.lang.String value)
Parse config status.
|
static ApplicationStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationStatus ACTIVE
public static final ApplicationStatus DEPRECATED
public static final ApplicationStatus INACTIVE
public static ApplicationStatus[] values()
for (ApplicationStatus c : ApplicationStatus.values()) System.out.println(c);
public static ApplicationStatus 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 static ApplicationStatus parse(java.lang.String value) throws GeniePreconditionException
value
- string to parse/convert into config statusGeniePreconditionException
- on invalid value