public class PluginListValue extends ObjectValue
PluginValue| Constructor and Description |
|---|
PluginListValue(String prop) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getClassNames()
The plugin class names.
|
protected String |
getInternalString()
Return the internal string form of this value.
|
String[] |
getProperties()
The plugin properties.
|
String |
getString()
Override to recognize aliases of the class name without the attached
properties string.
|
Class<Object[]> |
getValueType()
Returns the type of the property that this Value represents.
|
Object |
instantiate(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(String[] names)
The plugin class names.
|
protected void |
setInternalString(String str)
Set this value from the given string.
|
void |
setProperties(String[] props)
The plugin properties.
|
void |
setString(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, equals, getAliases, getDefault, getEquivalentKeys, getInstantiatingGetter, getListeners, getLoadKey, getOriginalValue, getProperty, getPropertyKeys, getScope, hashCode, hide, isAliasListComprehensive, isDynamic, isHidden, isPrivate, makePrivate, matches, removeListener, setAlias, setAlias, setAliases, setAliasListComprehensive, setDefault, setDynamic, setInstantiatingGetter, setLoadKey, setObject, setProperty, setScope, toString, unalias, unalias, valueChangedpublic PluginListValue(String prop)
public String[] getClassNames()
public void setClassNames(String[] names)
public String[] getProperties()
public void setProperties(String[] props)
public Object instantiate(Class<?> elemType, Configuration conf, boolean fatal)
instantiate in class ObjectValuepublic String getString()
public void setString(String str)
public Class<Object[]> getValueType()
ValuegetValueType in class ObjectValueprotected void objectChanged()
ObjectValueobjectChanged in class ObjectValueprotected String getInternalString()
ValuegetInternalString in class ObjectValueprotected void setInternalString(String str)
ValuesetInternalString in class ObjectValueCopyright © 2006–2022 Apache Software Foundation. All rights reserved.