public abstract class CloudFoundryServiceInfoCreator<SI extends ServiceInfo> extends Object implements ServiceInfoCreator<SI,Map<String,Object>>
Constructor and Description |
---|
CloudFoundryServiceInfoCreator(Tags tags,
String... uriSchemes) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Map<String,Object> serviceData) |
protected Map<String,Object> |
getCredentials(Map<String,Object> serviceData) |
String |
getDefaultUriScheme() |
protected String |
getId(Map<String,Object> serviceData) |
protected int |
getIntFromCredentials(Map<String,Object> credentials,
String... keys) |
protected String |
getStringFromCredentials(Map<String,Object> credentials,
String... keys) |
protected String |
getUriFromCredentials(Map<String,Object> credentials) |
String[] |
getUriSchemes() |
protected boolean |
labelStartsWithTag(Map<String,Object> serviceData) |
protected boolean |
tagsMatch(Map<String,Object> serviceData) |
protected boolean |
uriKeyMatchesScheme(Map<String,Object> serviceData) |
protected boolean |
uriMatchesScheme(Map<String,Object> serviceData) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createServiceInfo
public boolean accept(Map<String,Object> serviceData)
accept
in interface ServiceInfoCreator<SI extends ServiceInfo,Map<String,Object>>
protected String getStringFromCredentials(Map<String,Object> credentials, String... keys)
protected int getIntFromCredentials(Map<String,Object> credentials, String... keys)
public String[] getUriSchemes()
public String getDefaultUriScheme()