public class PluginInfo extends Object
Modifier and Type | Field and Description |
---|---|
Map<String,String> |
attributes |
List<PluginInfo> |
children |
String |
className |
static PluginInfo |
EMPTY_INFO |
NamedList |
initArgs |
String |
name |
String |
type |
Constructor and Description |
---|
PluginInfo(Node node,
String err,
boolean requireName,
boolean requireClass) |
PluginInfo(String type,
Map<String,String> attrs,
NamedList initArgs,
List<PluginInfo> children) |
Modifier and Type | Method and Description |
---|---|
PluginInfo |
getChild(String type) |
List<PluginInfo> |
getChildren(String type)
Filter children by type
|
boolean |
isDefault() |
boolean |
isEnabled() |
String |
toString() |
public final String name
public final String className
public final String type
public final NamedList initArgs
public final List<PluginInfo> children
public static final PluginInfo EMPTY_INFO
public PluginInfo(String type, Map<String,String> attrs, NamedList initArgs, List<PluginInfo> children)
public boolean isEnabled()
public boolean isDefault()
public PluginInfo getChild(String type)
public List<PluginInfo> getChildren(String type)
type
- The type name. must not be nullCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.