public static enum CatalogItem.CatalogItemType extends java.lang.Enum<CatalogItem.CatalogItemType>
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) |
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 ENTITY
public static final CatalogItem.CatalogItemType POLICY
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)