public class PluginsAndModules extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
PluginsAndModules() |
Modifier and Type | Method and Description |
---|---|
void |
addModule(PluginInfo info) |
void |
addPlugin(PluginInfo info) |
List<PluginInfo> |
getModuleInfos()
Returns an ordered list based on modules name
|
List<PluginInfo> |
getPluginInfos()
Returns an ordered list based on plugins name
|
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public List<PluginInfo> getPluginInfos()
public List<PluginInfo> getModuleInfos()
public void addPlugin(PluginInfo info)
public void addModule(PluginInfo info)
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
Copyright © 2009–2016. All rights reserved.