public static enum CatalogItem.CatalogItemType extends java.lang.Enum<CatalogItem.CatalogItemType>
Enum Constant and Description |
---|
APPLICATION |
ENRICHER |
ENTITY |
LOCATION |
POLICY |
TEMPLATE |
Modifier and Type | Method and Description |
---|---|
static CatalogItem.CatalogItemType |
ofSpecClass(java.lang.Class<? extends AbstractBrooklynObjectSpec<?,?>> type) |
static CatalogItem.CatalogItemType |
ofTargetClass(java.lang.Class<? extends BrooklynObject> type) |
java.lang.String |
toString() |
static CatalogItem.CatalogItemType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CatalogItem.CatalogItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CatalogItem.CatalogItemType TEMPLATE
public static final CatalogItem.CatalogItemType APPLICATION
public static final CatalogItem.CatalogItemType ENTITY
public static final CatalogItem.CatalogItemType POLICY
public static final CatalogItem.CatalogItemType ENRICHER
public static final CatalogItem.CatalogItemType LOCATION
public static CatalogItem.CatalogItemType[] values()
for (CatalogItem.CatalogItemType c : CatalogItem.CatalogItemType.values()) System.out.println(c);
public static CatalogItem.CatalogItemType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static CatalogItem.CatalogItemType ofSpecClass(java.lang.Class<? extends AbstractBrooklynObjectSpec<?,?>> type)
public static CatalogItem.CatalogItemType ofTargetClass(java.lang.Class<? extends BrooklynObject> type)
public java.lang.String toString()
toString
in class java.lang.Enum<CatalogItem.CatalogItemType>