public static enum ResourceSpecification.ResourceType extends Enum<ResourceSpecification.ResourceType>
Enum Constant and Description |
---|
CONTAINER
The resource is a container.
|
FILE
The resource is a file.
|
Modifier and Type | Method and Description |
---|---|
static ResourceSpecification.ResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceSpecification.ResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceSpecification.ResourceType CONTAINER
public static final ResourceSpecification.ResourceType FILE
public static ResourceSpecification.ResourceType[] values()
for (ResourceSpecification.ResourceType c : ResourceSpecification.ResourceType.values()) System.out.println(c);
public static ResourceSpecification.ResourceType 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 (c) 2017, SAS Institute Inc., Cary, NC, USA