T - The type of enricher to be createdpublic class EnricherSpec<T extends Enricher> extends AbstractBrooklynObjectSpec<T,EnricherSpec<T>>
create(...) methods.| Modifier and Type | Class and Description |
|---|---|
static class |
EnricherSpec.ExtensibleEnricherSpec<T extends Enricher,K extends EnricherSpec.ExtensibleEnricherSpec<T,K>> |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Enricher> |
create(java.lang.Class<? extends T> type)
Creates a new
EnricherSpec instance for an enricher of the given type. |
static <T extends Enricher> |
create(java.util.Map<?,?> config,
java.lang.Class<T> type)
Creates a new
EnricherSpec instance with the given config, for an enricher of the given type. |
EnricherSpec<T> |
uniqueTag(java.lang.String uniqueTag) |
addSearchPath, catalogItemId, catalogItemIdAndSearchPath, catalogItemIdIfNotNull, clearConfig, configure, configure, configure, configure, configure, configure, configureIfNotNull, displayName, equals, getCatalogItemId, getCatalogItemIdSearchPath, getConfig, getDisplayName, getFlags, getParameters, getTags, getType, hashCode, parameters, parametersAdd, parametersReplace, removeConfig, removeFlag, stackCatalogItemId, tag, tags, tagsAdd, tagsReplace, toStringpublic static <T extends Enricher> EnricherSpec<T> create(java.lang.Class<? extends T> type)
EnricherSpec instance for an enricher of the given type. The returned
EnricherSpec can then be customized.type - A Enricher classpublic static <T extends Enricher> EnricherSpec<T> create(java.util.Map<?,?> config, java.lang.Class<T> type)
EnricherSpec instance with the given config, for an enricher of the given type.
This is primarily for groovy code; equivalent to EnricherSpec.create(type).configure(config).config - The spec's configuration (see AbstractBrooklynObjectSpec.configure(Map)).type - An Enricher classpublic EnricherSpec<T> uniqueTag(java.lang.String uniqueTag)