public enum ContentDescriptorCategory extends Enum<ContentDescriptorCategory>
Java class for contentDescriptorCategory.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="contentDescriptorCategory">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="executableScript"/>
<enumeration value="executableBinary"/>
<enumeration value="deployable"/>
<enumeration value="configuration"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CONFIGURATION |
DEPLOYABLE |
EXECUTABLE_BINARY |
EXECUTABLE_SCRIPT |
| Modifier and Type | Method and Description |
|---|---|
static ContentDescriptorCategory |
fromValue(String v) |
String |
value() |
static ContentDescriptorCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentDescriptorCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentDescriptorCategory EXECUTABLE_SCRIPT
public static final ContentDescriptorCategory EXECUTABLE_BINARY
public static final ContentDescriptorCategory DEPLOYABLE
public static final ContentDescriptorCategory CONFIGURATION
public static ContentDescriptorCategory[] values()
for (ContentDescriptorCategory c : ContentDescriptorCategory.values()) System.out.println(c);
public static ContentDescriptorCategory 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 ContentDescriptorCategory fromValue(String v)
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.