Class GetComponentStateAction.NodeResponse
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportResponse
-
- org.elasticsearch.action.support.nodes.BaseNodeResponse
-
- com.floragunn.searchguard.modules.api.GetComponentStateAction.NodeResponse
-
- All Implemented Interfaces:
org.elasticsearch.common.io.stream.Writeable,org.elasticsearch.core.RefCounted
- Enclosing class:
- GetComponentStateAction
public static class GetComponentStateAction.NodeResponse extends org.elasticsearch.action.support.nodes.BaseNodeResponse
-
-
Constructor Summary
Constructors Constructor Description NodeResponse(org.elasticsearch.cluster.node.DiscoveryNode node, List<ComponentState> states)NodeResponse(org.elasticsearch.cluster.node.DiscoveryNode node, List<ComponentState> states, String message, String detailJson)NodeResponse(org.elasticsearch.common.io.stream.StreamInput in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDetailJson()StringgetMessage()List<ComponentState>getStates()voidwriteTo(org.elasticsearch.common.io.stream.StreamOutput out)
-
-
-
Constructor Detail
-
NodeResponse
public NodeResponse(org.elasticsearch.common.io.stream.StreamInput in) throws IOException- Throws:
IOException
-
NodeResponse
public NodeResponse(org.elasticsearch.cluster.node.DiscoveryNode node, List<ComponentState> states, String message, String detailJson)
-
NodeResponse
public NodeResponse(org.elasticsearch.cluster.node.DiscoveryNode node, List<ComponentState> states)
-
-
Method Detail
-
getMessage
public String getMessage()
-
getDetailJson
public String getDetailJson()
-
getStates
public List<ComponentState> getStates()
-
writeTo
public void writeTo(org.elasticsearch.common.io.stream.StreamOutput out) throws IOException- Specified by:
writeToin interfaceorg.elasticsearch.common.io.stream.Writeable- Overrides:
writeToin classorg.elasticsearch.action.support.nodes.BaseNodeResponse- Throws:
IOException
-
-