public class BasicRegisteredType extends java.lang.Object implements RegisteredType
RegisteredTypes.RegisteredType.TypeImplementationPlan| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
getAliases()
Alias words defined for this type
|
ConfigBag |
getCache() |
java.lang.String |
getDescription() |
java.lang.String |
getDisplayName() |
java.lang.String |
getIconUrl() |
java.lang.String |
getId() |
BrooklynTypeRegistry.RegisteredTypeKind |
getKind() |
java.util.Collection<OsgiBundleWithUrl> |
getLibraries() |
RegisteredType.TypeImplementationPlan |
getPlan() |
java.util.Set<java.lang.Object> |
getSuperTypes() |
java.lang.String |
getSymbolicName() |
java.util.Set<java.lang.Object> |
getTags()
Tags attached to this item
|
java.lang.String |
getVersion() |
boolean |
isDeprecated() |
boolean |
isDisabled() |
java.lang.String |
toString() |
public java.lang.String getId()
getId in interface IdentifiablegetId in interface RegisteredTypepublic BrooklynTypeRegistry.RegisteredTypeKind getKind()
getKind in interface RegisteredTypepublic java.lang.String getSymbolicName()
getSymbolicName in interface RegisteredTypepublic java.lang.String getVersion()
getVersion in interface RegisteredTypepublic java.util.Collection<OsgiBundleWithUrl> getLibraries()
getLibraries in interface RegisteredTypepublic java.lang.String getDisplayName()
getDisplayName in interface RegisteredTypepublic java.lang.String getDescription()
getDescription in interface RegisteredTypepublic java.lang.String getIconUrl()
getIconUrl in interface RegisteredTypepublic java.util.Set<java.lang.Object> getSuperTypes()
getSuperTypes in interface RegisteredTypeClass or RegisteredType
This should normally include at least one Class object for filtering purposes:
For beans, this should include the java type that the BrooklynTypeRegistry will create.
For specs, this should refer to the BrooklynObject type that the created spec will point at
(e.g. the concrete Entity, not the EntitySpec).
This will normally not return all ancestor classes,
and it is not required even to return the most specific java class or classes:
such as if the concrete type is private and callers should know only about a particular public interface,
or if precise type details are unavailable and all that is known at creation is some higher level interface/supertype
(e.g. this may return Entity even though the spec points at a specific subclass,
for instance because the YAML has not yet been parsed or OSGi bundles downloaded).
This may include other registered types such as marker interfaces.
It may even include multiple interfaces but exclude the concrete subclass which implements them all (for instance if that concrete implementation is an internal private class). However it must be possible for the corresponding transformer to instantiate that type at runtime.
public boolean isDisabled()
isDisabled in interface RegisteredTypepublic boolean isDeprecated()
isDeprecated in interface RegisteredTypepublic java.util.Set<java.lang.String> getAliases()
RegisteredTypegetAliases in interface RegisteredTypepublic java.util.Set<java.lang.Object> getTags()
RegisteredTypegetTags in interface RegisteredType@Beta public ConfigBag getCache()
public RegisteredType.TypeImplementationPlan getPlan()
getPlan in interface RegisteredTypeBrooklynTypePlanTransformer
which can then use this object to instantiate this typepublic java.lang.String toString()
toString in class java.lang.Object