T - The type of location to be createdpublic class LocationSpec<T extends Location> extends AbstractBrooklynObjectSpec<T,LocationSpec<T>>
create(...) methods.| Modifier and Type | Method and Description | 
|---|---|
| LocationSpec<T> | configure(java.lang.CharSequence key,
         java.lang.Object val) | 
| <V> LocationSpec<T> | configure(ConfigKey.HasConfigKey<V> key,
         Task<? extends V> val) | 
| <V> LocationSpec<T> | configure(ConfigKey.HasConfigKey<V> key,
         V val) | 
| <V> LocationSpec<T> | configure(ConfigKey<V> key,
         Task<? extends V> val) | 
| <V> LocationSpec<T> | configure(ConfigKey<V> key,
         V val) | 
| LocationSpec<T> | configure(java.util.Map<?,?> val) | 
| <V> LocationSpec<T> | configureIfNotNull(ConfigKey<V> key,
                  V val) | 
| static <T extends Location>  | create(java.lang.Class<T> type)Creates a new  LocationSpecinstance for a location of the given type. | 
| static <T extends Location>  | create(java.util.Map<?,?> config,
      java.lang.Class<T> type)Creates a new  LocationSpecinstance with the given config, for a location of the given type. | 
| <E> LocationSpec<T> | extension(java.lang.Class<E> extensionType,
         E extension) | 
| java.util.Map<ConfigKey<?>,java.lang.Object> | getConfig() | 
| java.util.Map<java.lang.Class<?>,java.lang.Object> | getExtensions() | 
| java.util.Map<java.lang.String,?> | getFlags() | 
| java.lang.String | getId()Deprecated. 
 since 0.7.0; instead let the management context pick a random+unique id | 
| Location | getParent() | 
| LocationSpec<T> | id(java.lang.String val)Deprecated. 
 since 0.7.0; instead let the management context pick a random+unique id | 
| LocationSpec<T> | parent(Location val) | 
| <V> LocationSpec<T> | removeConfig(ConfigKey<V> key) | 
catalogItemId, displayName, getCatalogItemId, getDisplayName, getTags, getType, tag, tags, toStringpublic static <T extends Location> LocationSpec<T> create(java.lang.Class<T> type)
LocationSpec instance for a location of the given type. The returned 
 LocationSpec can then be customized.type - A Location classpublic static <T extends Location> LocationSpec<T> create(java.util.Map<?,?> config, java.lang.Class<T> type)
LocationSpec instance with the given config, for a location of the given type.
 
 This is primarily for groovy code; equivalent to LocationSpec.create(type).configure(config).config - The spec's configuration (see configure(Map)).type - A Location class@Deprecated public LocationSpec<T> id(java.lang.String val)
public LocationSpec<T> parent(Location val)
public LocationSpec<T> configure(java.util.Map<?,?> val)
public LocationSpec<T> configure(java.lang.CharSequence key, java.lang.Object val)
public <V> LocationSpec<T> configure(ConfigKey<V> key, V val)
public <V> LocationSpec<T> configureIfNotNull(ConfigKey<V> key, V val)
public <V> LocationSpec<T> configure(ConfigKey<V> key, Task<? extends V> val)
public <V> LocationSpec<T> configure(ConfigKey.HasConfigKey<V> key, V val)
public <V> LocationSpec<T> configure(ConfigKey.HasConfigKey<V> key, Task<? extends V> val)
public <V> LocationSpec<T> removeConfig(ConfigKey<V> key)
public <E> LocationSpec<T> extension(java.lang.Class<E> extensionType, E extension)
@Deprecated public java.lang.String getId()
public Location getParent()
public java.util.Map<java.lang.String,?> getFlags()
declarations on the location typepublic java.util.Map<ConfigKey<?>,java.lang.Object> getConfig()
public java.util.Map<java.lang.Class<?>,java.lang.Object> getExtensions()