Package org.apache.solr.core
Class PluginInfo
java.lang.Object
org.apache.solr.core.PluginInfo
- All Implemented Interfaces:
org.apache.solr.common.MapSerializable
An Object which represents a Plugin of any type
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringfinal List<PluginInfo> final Stringfinal PluginInfo.ClassNamestatic final Stringstatic final PluginInfofinal org.apache.solr.common.util.NamedList<Object> static final Stringfinal Stringfinal Stringfinal String -
Constructor Summary
ConstructorsConstructorDescriptionPluginInfo(String type, Map<String, Object> map) PluginInfo(String type, Map<String, String> attrs, org.apache.solr.common.util.NamedList<?> initArgs, List<PluginInfo> children) PluginInfo(org.apache.solr.common.ConfigNode node, String err, boolean requireName, boolean requireClass) From XML. -
Method Summary
Modifier and TypeMethodDescriptioncopy()getChildren(String type) Filter children by typebooleanbooleanbooleanstatic PluginInfo.ClassNameparseClassName(String name) class names can be prefixed with package name e.g: my_package:my.pkg.Class This checks if it is a package name prefixed classname.toString()
-
Field Details
-
name
-
className
-
type
-
pkgName
-
cName
-
initArgs
-
attributes
-
children
-
EMPTY_INFO
-
DEFAULTS
- See Also:
-
APPENDS
- See Also:
-
INVARIANTS
- See Also:
-
-
Constructor Details
-
PluginInfo
-
PluginInfo
public PluginInfo(org.apache.solr.common.ConfigNode node, String err, boolean requireName, boolean requireClass) From XML. -
PluginInfo
-
-
Method Details
-
parseClassName
class names can be prefixed with package name e.g: my_package:my.pkg.Class This checks if it is a package name prefixed classname. the return value has first = package name and second = class name -
toString
-
isEnabled
public boolean isEnabled() -
isDefault
public boolean isDefault() -
getChild
-
toMap
- Specified by:
toMapin interfaceorg.apache.solr.common.MapSerializable
-
getChildren
Filter children by type- Parameters:
type- The type name. must not be null- Returns:
- The matching children
-
isFromSolrConfig
public boolean isFromSolrConfig() -
copy
-