public class BrooklynYamlLocationResolver extends Object
| Modifier and Type | Field and Description |
|---|---|
protected brooklyn.management.ManagementContext |
mgmt |
| Constructor and Description |
|---|
BrooklynYamlLocationResolver(brooklyn.management.ManagementContext bmc) |
| Modifier and Type | Method and Description |
|---|---|
brooklyn.location.Location |
resolveLocation(Object location) |
brooklyn.location.Location |
resolveLocationFromMap(Map<?,?> location) |
brooklyn.location.Location |
resolveLocationFromString(String location)
resolves the location from the given spec string, either "Named Location", or "named:Named Location" format;
returns null if input is blank (or null); otherwise guaranteed to resolve or throw error
|
List<brooklyn.location.Location> |
resolveLocations(Iterable<Object> locations) |
List<brooklyn.location.Location> |
resolveLocations(Map<? super String,?> attrs,
boolean removeUsedAttributes)
returns list of locations, if any were supplied, or null if none indicated
|
protected final brooklyn.management.ManagementContext mgmt
public BrooklynYamlLocationResolver(brooklyn.management.ManagementContext bmc)
public List<brooklyn.location.Location> resolveLocations(Map<? super String,?> attrs, boolean removeUsedAttributes)
public List<brooklyn.location.Location> resolveLocations(Iterable<Object> locations)
public brooklyn.location.Location resolveLocation(Object location)
public brooklyn.location.Location resolveLocationFromString(String location)
public brooklyn.location.Location resolveLocationFromMap(Map<?,?> location)
Copyright © 2014. All Rights Reserved.