public abstract class ProviderSupport extends Object implements Provider
Provider
implementations.Modifier and Type | Field and Description |
---|---|
protected Configuration |
config |
protected Map |
features |
protected String |
key |
protected org.slf4j.Logger |
log |
protected Boolean |
supported |
protected Version |
version |
Modifier | Constructor and Description |
---|---|
protected |
ProviderSupport(String key) |
protected |
ProviderSupport(String key,
Configuration config) |
Modifier and Type | Method and Description |
---|---|
static String |
asString(Provider provider) |
Configuration |
config() |
protected abstract Map |
detectFeatures() |
protected boolean |
detectSupported() |
protected abstract Version |
detectVersion() |
Feature |
feature(Class key) |
Feature |
feature(String key) |
Collection |
features() |
int |
hashCode() |
String |
key() |
String |
name() |
void |
require() |
boolean |
supported() |
String |
toString() |
Version |
version() |
protected final org.slf4j.Logger log
protected final String key
protected final Configuration config
protected Version version
protected Boolean supported
protected Map features
protected ProviderSupport(String key, Configuration config)
protected ProviderSupport(String key)
protected abstract Version detectVersion()
protected boolean detectSupported()
public Configuration config()
protected abstract Map detectFeatures()
public Collection features()
Copyright © 2006-2013 Codehaus. All Rights Reserved.