public class PluginInfo extends Object implements MapSerializable
Modifier and Type | Field and Description |
---|---|
static String |
APPENDS |
Map<String,String> |
attributes |
List<PluginInfo> |
children |
String |
className |
static String |
DEFAULTS |
static PluginInfo |
EMPTY_INFO |
NamedList |
initArgs |
static String |
INVARIANTS |
String |
name |
String |
type |
Constructor and Description |
---|
PluginInfo(Node node,
String err,
boolean requireName,
boolean requireClass) |
PluginInfo(String type,
Map<String,Object> map) |
PluginInfo(String type,
Map<String,String> attrs,
NamedList initArgs,
List<PluginInfo> children) |
Modifier and Type | Method and Description |
---|---|
PluginInfo |
copy() |
PluginInfo |
getChild(String type) |
List<PluginInfo> |
getChildren(String type)
Filter children by type
|
boolean |
isDefault() |
boolean |
isEnabled() |
boolean |
isFromSolrConfig() |
Map<String,Object> |
toMap(Map<String,Object> map) |
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 static final String DEFAULTS
public static final String APPENDS
public static final String INVARIANTS
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 Map<String,Object> toMap(Map<String,Object> map)
toMap
in interface MapSerializable
public List<PluginInfo> getChildren(String type)
type
- The type name. must not be nullpublic boolean isFromSolrConfig()
public PluginInfo copy()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.