public class BrooklynYamlLocationResolver
extends java.lang.Object
Constructor and Description |
---|
BrooklynYamlLocationResolver(ManagementContext bmc) |
Modifier and Type | Method and Description |
---|---|
Location |
resolveLocation(java.lang.Object location) |
Location |
resolveLocationFromMap(java.util.Map<?,?> location) |
Location |
resolveLocationFromString(java.lang.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
|
java.util.List<Location> |
resolveLocations(java.lang.Iterable<java.lang.Object> locations) |
java.util.List<Location> |
resolveLocations(java.util.Map<? super java.lang.String,?> attrs,
boolean removeUsedAttributes)
returns list of locations, if any were supplied, or null if none indicated
|
public BrooklynYamlLocationResolver(ManagementContext bmc)
public java.util.List<Location> resolveLocations(java.util.Map<? super java.lang.String,?> attrs, boolean removeUsedAttributes)
public java.util.List<Location> resolveLocations(java.lang.Iterable<java.lang.Object> locations)
public Location resolveLocation(java.lang.Object location)
public Location resolveLocationFromString(java.lang.String location)
public Location resolveLocationFromMap(java.util.Map<?,?> location)