Class PluginInfo

  • All Implemented Interfaces:

    public class PluginInfo
    extends Object
    implements org.apache.solr.common.MapSerializable
    An Object which represents a Plugin of any type
    • Constructor Detail

      • PluginInfo

        public PluginInfo​(org.apache.solr.common.ConfigNode node,
                          String err,
                          boolean requireName,
                          boolean requireClass)
      • PluginInfo

        public PluginInfo​(Node node,
                          String err,
                          boolean requireName,
                          boolean requireClass)
    • Method Detail

      • parseClassName

        public static PluginInfo.ClassName parseClassName​(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. the return value has first = package name and second = class name
      • isEnabled

        public boolean isEnabled()
      • isDefault

        public boolean isDefault()
      • getChildren

        public List<PluginInfo> getChildren​(String type)
        Filter children by type
        type - The type name. must not be null
        The matching children
      • isFromSolrConfig

        public boolean isFromSolrConfig()