public static enum QualifiedContent.DefaultContentType extends Enum<QualifiedContent.DefaultContentType> implements QualifiedContent.ContentType
Enum Constant and Description |
---|
CLASSES
The content is compiled Java code.
|
RESOURCES
The content is standard Java resources.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
A unique value for a content type.
|
static QualifiedContent.DefaultContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QualifiedContent.DefaultContentType[] |
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, valueOf
name
public static final QualifiedContent.DefaultContentType CLASSES
public static final QualifiedContent.DefaultContentType RESOURCES
public static QualifiedContent.DefaultContentType[] values()
for (QualifiedContent.DefaultContentType c : QualifiedContent.DefaultContentType.values()) System.out.println(c);
public static QualifiedContent.DefaultContentType 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 getValue()
QualifiedContent.ContentType
getValue
in interface QualifiedContent.ContentType