public enum ResourceState extends Enum<ResourceState>
Modifier and Type | Method and Description |
---|---|
static ResourceState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceState GREEN
public static final ResourceState YELLOW
public static final ResourceState RED
public static ResourceState[] values()
for (ResourceState c : ResourceState.values()) System.out.println(c);
public static ResourceState 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 © 2019 "Tigase, Inc.". All rights reserved.