public enum ResourceStates extends Enum<ResourceStates>
Enum Constant and Description |
---|
Completed |
Error |
Interrupted |
Killed |
New |
Pending |
Running |
Starting |
Stopping |
Suspended |
Terminated |
Unknown |
Warning |
Modifier and Type | Method and Description |
---|---|
static ResourceStates |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceStates Completed
public static final ResourceStates Error
public static final ResourceStates Interrupted
public static final ResourceStates Killed
public static final ResourceStates New
public static final ResourceStates Pending
public static final ResourceStates Running
public static final ResourceStates Starting
public static final ResourceStates Stopping
public static final ResourceStates Suspended
public static final ResourceStates Terminated
public static final ResourceStates Unknown
public static final ResourceStates Warning
public static ResourceStates[] values()
for (ResourceStates c : ResourceStates.values()) System.out.println(c);
public static ResourceStates 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 nullCopyright © 2016. All rights reserved.