|
Deprecated Methods |
brooklyn.location.LocationRegistry.canResolve(String)
since 0.6.0, @see LocationRegistry.resolveIfPossible(String) and
#canMaybeResolve(String) as a "true" here does not mean it can actually resolve it |
brooklyn.location.Location.findLocationProperty(String)
since 0.5.0, use getConfig |
brooklyn.location.Location.getAllConfig()
since 0.6.0 use {@link #getAllConfig(boolean) |
brooklyn.location.Location.getChildLocations()
since 0.6 |
brooklyn.entity.basic.EntityLocal.getConfig(ConfigKey.HasConfigKey, T)
in 0.5; use #getConfig(HasConfigKey) |
brooklyn.entity.basic.EntityLocal.getConfig(ConfigKey, T)
in 0.5; use Entity.getConfig(ConfigKey) |
brooklyn.management.ExecutionContext.getCurrentTask()
in 0.5, use Tasks.current() |
brooklyn.location.LocationRegistry.getDefinedLocation(String)
since 0.6.0; use LocationRegistry.getDefinedLocationById(String)
(ID should be explicit because this is usually *not* the method people want) |
brooklyn.management.ManagementContext.getEntities()
Use getEntityManager().getEntities() instead; deprecated in 0.5 |
brooklyn.management.ManagementContext.getEntity(String)
Use getEntityManager().getEntity(String) instead; deprecated in 0.5 |
brooklyn.management.ManagementContext.getEntityDriverFactory()
since 0.5; use ManagementContext.getEntityDriverManager() |
brooklyn.entity.basic.EntityLocal.getExecutionContext()
since 0.5.0; access via EntityInternal#getExecutionContext(). |
brooklyn.location.NoMachinesAvailableException.getLocation()
since 0.5; the catcher can know which location had no machines based on which
location they asked for; will remove this so that the exception is definitely
serializable. |
brooklyn.location.Location.getLocationProperty(String)
since 0.5.0, use `if (hasConfig) { getConfig }` if you really need to preserve
"don't look at parents" behaviour |
brooklyn.entity.basic.EntityLocal.getManagementContext()
since 0.5.0; access via EntityInternal#getManagementContext(). |
brooklyn.location.Location.getName()
since 0.6 |
brooklyn.location.Location.getParentLocation()
since 0.6 |
brooklyn.location.Location.hasConfig(ConfigKey>)
since 0.6.0 use Location.hasConfig(ConfigKey, boolean) |
brooklyn.location.Location.hasLocationProperty(String)
since 0.5.0, use hasConfig |
brooklyn.management.ManagementContext.isManaged(Entity)
Use getEntityManager().isManaged(Entity) instead; deprecated in 0.5 |
brooklyn.management.ManagementContext.manage(Entity)
Use getEntityManager().manage(Entity) instead; deprecated in 0.5 |
brooklyn.management.LocationManager.manage(Location)
in 0.6.0; use LocationManager.createLocation(LocationSpec) instead. |
brooklyn.location.LocationResolver.newLocationFromString(Map, String)
since 0.6; use LocationResolver.newLocationFromString(Map, String, LocationRegistry) |
brooklyn.location.Location.setParentLocation(Location)
since 0.6 |
brooklyn.location.LocationSpec.spec(Class)
since 0.6 (added 0.6.0-M1); use LocationSpec.create(Class) |
brooklyn.location.LocationSpec.spec(Map, ?>, Class)
since 0.6 (added 0.6.0-M1); use LocationSpec.create(Map, Class) |
brooklyn.management.ExecutionManager.submit(Map, ?>, Object)
since 0.5.0 or 0.6.0, while refactoring groovy->java; use strongly typed methods |
brooklyn.management.ManagementContext.unmanage(Entity)
Use getEntityManager().unmanage(Entity) instead; deprecated in 0.5 |