public static enum BrooklynTypeRegistry.RegisteredTypeKind extends java.lang.Enum<BrooklynTypeRegistry.RegisteredTypeKind>
Enum Constant and Description |
---|
BEAN
a registered type which will create the java type described
|
SPEC
a registered type which will create an
AbstractBrooklynObjectSpec (e.g. |
UNRESOLVED
a partially registered type which requires subsequent validation and changing the kind;
until then, an item of this kind cannot be instantiated.
|
Modifier and Type | Method and Description |
---|---|
static BrooklynTypeRegistry.RegisteredTypeKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BrooklynTypeRegistry.RegisteredTypeKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrooklynTypeRegistry.RegisteredTypeKind SPEC
AbstractBrooklynObjectSpec
(e.g. EntitySpec
)
for the type registered (e.g. the Entity
instance)public static final BrooklynTypeRegistry.RegisteredTypeKind BEAN
public static final BrooklynTypeRegistry.RegisteredTypeKind UNRESOLVED
public static BrooklynTypeRegistry.RegisteredTypeKind[] values()
for (BrooklynTypeRegistry.RegisteredTypeKind c : BrooklynTypeRegistry.RegisteredTypeKind.values()) System.out.println(c);
public static BrooklynTypeRegistry.RegisteredTypeKind 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 null