@Generated public class PluginContainer extends BaseObject
BaseObject.ChildrenTracking
childrenTracking, delegate
Constructor and Description |
---|
PluginContainer() |
PluginContainer(PluginContainer delegate) |
PluginContainer(PluginContainer delegate,
BaseObject parent) |
Modifier and Type | Method and Description |
---|---|
void |
addPlugin(Plugin plugin) |
PluginContainer |
clone() |
void |
flushPluginMap()
Reset the
pluginsMap field to null |
PluginContainer |
getDelegate() |
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
List<Plugin> |
getPlugins() |
Map<String,Plugin> |
getPluginsAsMap() |
static List<PluginContainer> |
pluginContainerToApiV3(List<PluginContainer> list) |
static List<PluginContainer> |
pluginContainerToApiV4(List<PluginContainer> list) |
void |
removePlugin(Plugin plugin) |
protected boolean |
replace(Object oldDelegate,
Object newDelegate) |
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setPlugins(List<Plugin> plugins) |
update
public PluginContainer()
public PluginContainer(PluginContainer delegate)
public PluginContainer(PluginContainer delegate, BaseObject parent)
public PluginContainer clone()
public PluginContainer getDelegate()
getDelegate
in class BaseObject
public void addPlugin(Plugin plugin)
public void removePlugin(Plugin plugin)
public InputLocation getLocation(Object key)
InputLocationTracker
key
- The key of the field, must not be
null
.null
if unknown.public void setLocation(Object key, InputLocation location)
InputLocationTracker
key
- The key of the field, must not be
null
.location
- The location of the field, may be
null
.protected boolean replace(Object oldDelegate, Object newDelegate)
replace
in class BaseObject
public static List<PluginContainer> pluginContainerToApiV4(List<PluginContainer> list)
public static List<PluginContainer> pluginContainerToApiV3(List<PluginContainer> list)
public void flushPluginMap()
pluginsMap
field to null
public Map<String,Plugin> getPluginsAsMap()
Plugins#getKey()
as keyPlugin.getKey()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.