@Override public boolean accepts(String spec, LocationRegistry registry) { return BasicLocationRegistry.isResolverPrefixForSpec(this, spec, true); }
@Override public boolean accepts(String spec, LocationRegistry registry) { return BasicLocationRegistry.isResolverPrefixForSpec(this, spec, true); }
@Override public boolean accepts(String spec, LocationRegistry registry) { return BasicLocationRegistry.isResolverPrefixForSpec(this, spec, true); }
@Override public boolean accepts(String spec, LocationRegistry registry) { return BasicLocationRegistry.isResolverPrefixForSpec(this, spec, true); }
@Override public boolean accepts(String spec, LocationRegistry registry) { return BasicLocationRegistry.isResolverPrefixForSpec(this, spec, true); }
@Override public boolean accepts(String spec, LocationRegistry registry) { return BasicLocationRegistry.isResolverPrefixForSpec(this, spec, true); }
/** accepts anything starting named:, such as named:my-loc, or just my-loc, so long as my-loc is a defined location name */ @Override public boolean accepts(String spec, LocationRegistry registry) { if (BasicLocationRegistry.isResolverPrefixForSpec(this, spec, false)) return true; if (registry.getDefinedLocationByName(spec)!=null) return true; return false; }
/** * accepts anything that looks like it will be a YAML catalog item (e.g. starting "brooklyn.catalog:") */ @Override public boolean accepts(String spec, LocationRegistry registry) { if (BasicLocationRegistry.isResolverPrefixForSpec(this, spec, false)) return true; if (registry.getDefinedLocationByName(spec)!=null) return true; return false; }
/** accepts anything starting id:xxx or just xxx where xxx is a defined location ID */ @Override public boolean accepts(String spec, LocationRegistry registry) { if (BasicLocationRegistry.isResolverPrefixForSpec(this, spec, false)) return true; if (registry.getDefinedLocationById(spec)!=null) return true; return false; }
@Override public boolean accepts(String spec, LocationRegistry registry) { return BasicLocationRegistry.isResolverPrefixForSpec(this, spec, true); }