public class PluginsInfo extends Object implements Streamable, Serializable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
PluginsInfo() |
PluginsInfo(int size) |
Modifier and Type | Method and Description |
---|---|
void |
add(PluginInfo info) |
List<PluginInfo> |
getInfos() |
void |
readFrom(StreamInput in) |
static PluginsInfo |
readPluginsInfo(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public List<PluginInfo> getInfos()
public void add(PluginInfo info)
public static PluginsInfo readPluginsInfo(StreamInput in) throws IOException
IOException
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–2015. All rights reserved.