Class PluginsAndModules
java.lang.Object
org.elasticsearch.action.admin.cluster.node.info.PluginsAndModules
- All Implemented Interfaces:
Writeable
,ReportingService.Info
,ToXContent
Information about plugins and modules
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
ConstructorDescriptionPluginsAndModules
(List<PluginDescriptor> plugins, List<PluginDescriptor> modules) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addModule
(PluginDescriptor info) void
addPlugin
(PluginDescriptor info) Returns an ordered list based on modules nameReturns an ordered list based on plugins nametoXContent
(XContentBuilder builder, ToXContent.Params params) void
writeTo
(StreamOutput out) Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.xcontent.ToXContent
isFragment
-
Constructor Details
-
PluginsAndModules
-
PluginsAndModules
- Throws:
IOException
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Throws:
IOException
-
getPluginInfos
Returns an ordered list based on plugins name -
getModuleInfos
Returns an ordered list based on modules name -
addPlugin
-
addModule
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContent
in interfaceToXContent
- Throws:
IOException
-