public enum ApplicationStatus extends Enum<ApplicationStatus> implements LifeCycleState
| Enum Constant and Description |
|---|
Active |
Created |
Inactive |
Terminated |
Terminating |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
static ApplicationStatus |
valueOf(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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetNextStatespublic static final ApplicationStatus Created
public static final ApplicationStatus Active
public static final ApplicationStatus Inactive
public static final ApplicationStatus Terminating
public static final ApplicationStatus Terminated
public static ApplicationStatus[] values()
for (ApplicationStatus c : ApplicationStatus.values()) System.out.println(c);
public static ApplicationStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getCode()
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.