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, setInternalObject
addEquivalentKey, 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, valueChanged
public 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 ObjectValue
public String getString()
public void setString(String str)
public Class<Object[]> getValueType()
Value
getValueType
in class ObjectValue
protected void objectChanged()
ObjectValue
objectChanged
in class ObjectValue
protected String getInternalString()
Value
getInternalString
in class ObjectValue
protected void setInternalString(String str)
Value
setInternalString
in class ObjectValue
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.