public enum SimpleResourceType extends Enum<SimpleResourceType>
| Enum Constant and Description |
|---|
METADATA
The ResourceProxy refers to another component metadata instance (e.g.
|
RESOURCE
The ResourceProxy refers to a file that is not a metadata instance (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static SimpleResourceType |
fromValue(String v) |
String |
value() |
static SimpleResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleResourceType METADATA
public static final SimpleResourceType RESOURCE
public static SimpleResourceType[] values()
for (SimpleResourceType c : SimpleResourceType.values()) System.out.println(c);
public static SimpleResourceType 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 String value()
public static SimpleResourceType fromValue(String v)
Copyright © 2014. All rights reserved.