public class PluginListValue extends ObjectValue
PluginValue| Constructor and Description |
|---|
PluginListValue(java.lang.String prop) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getClassNames()
The plugin class names.
|
protected java.lang.String |
getInternalString()
Return the internal string form of this value.
|
java.lang.String[] |
getProperties()
The plugin properties.
|
java.lang.String |
getString()
Override to recognize aliases of the class name without the attached
properties string.
|
java.lang.Class<java.lang.Object[]> |
getValueType()
Returns the type of the property that this Value represents.
|
java.lang.Object |
instantiate(java.lang.Class<?> elemType,
Configuration conf,
boolean fatal)
Instantiate the plugins as instances of the given class.
|
protected void |
objectChanged()
Implement this method to synchronize internal data with the new
object value.
|
void |
setClassNames(java.lang.String[] names)
The plugin class names.
|
protected void |
setInternalString(java.lang.String str)
Set this value from the given string.
|
void |
setProperties(java.lang.String[] props)
The plugin properties.
|
void |
setString(java.lang.String str)
Override to recognize aliases of the plugin name without the attached
properties string.
|
configure, configure, get, instantiate, newInstance, set, set, setInternalObjectaddEquivalentKey, addListener, alias, alias, assertChangeable, clone, containsReadOnlyConfigurationAsListener, equals, getAliases, getDefault, getEquivalentKeys, getInstantiatingGetter, getListeners, getLoadKey, getOriginalValue, getProperty, getPropertyKeys, getScope, hashCode, hide, isAliasListComprehensive, isDefault, isDynamic, isHidden, isPrivate, makePrivate, matches, removeListener, setAlias, setAlias, setAliases, setAliasListComprehensive, setDefault, setDynamic, setInstantiatingGetter, setLoadKey, setObject, setProperty, setScope, toString, unalias, unalias, valueChangedpublic java.lang.String[] getClassNames()
public void setClassNames(java.lang.String[] names)
public java.lang.String[] getProperties()
public void setProperties(java.lang.String[] props)
public java.lang.Object instantiate(java.lang.Class<?> elemType,
Configuration conf,
boolean fatal)
instantiate in class ObjectValuepublic java.lang.String getString()
public void setString(java.lang.String str)
public java.lang.Class<java.lang.Object[]> getValueType()
ValuegetValueType in class ObjectValueprotected void objectChanged()
ObjectValueobjectChanged in class ObjectValueprotected java.lang.String getInternalString()
ValuegetInternalString in class ObjectValueprotected void setInternalString(java.lang.String str)
ValuesetInternalString in class ObjectValueCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.