Class PluginsAndModules

java.lang.Object
org.elasticsearch.action.admin.cluster.node.info.PluginsAndModules
All Implemented Interfaces:
Writeable, org.elasticsearch.common.xcontent.ToXContent, ReportingService.Info

public class PluginsAndModules extends Object implements ReportingService.Info
Information about plugins and modules
  • Constructor Details

  • Method Details

    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • getPluginInfos

      public List<PluginInfo> getPluginInfos()
      Returns an ordered list based on plugins name
    • getModuleInfos

      public List<PluginInfo> getModuleInfos()
      Returns an ordered list based on modules name
    • addPlugin

      public void addPlugin(PluginInfo info)
    • addModule

      public void addModule(PluginInfo info)
    • toXContent

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      IOException