Package org.elasticsearch.protocol.xpack
Class XPackInfoRequest
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportRequest
-
- org.elasticsearch.action.ActionRequest
-
- org.elasticsearch.protocol.xpack.XPackInfoRequest
-
- All Implemented Interfaces:
Streamable,Writeable,TaskAwareRequest
public class XPackInfoRequest extends ActionRequest
Fetch information about X-Pack from the cluster.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXPackInfoRequest.Category-
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest
TransportRequest.Empty
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V extends java.lang.Object>, Writeable.Writer<V extends java.lang.Object>
-
-
Constructor Summary
Constructors Constructor Description XPackInfoRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.EnumSet<XPackInfoRequest.Category>getCategories()booleanisVerbose()voidreadFrom(StreamInput in)voidsetCategories(java.util.EnumSet<XPackInfoRequest.Category> categories)voidsetVerbose(boolean verbose)ActionRequestValidationExceptionvalidate()voidwriteTo(StreamOutput out)-
Methods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResult
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.io.stream.Streamable
-
Methods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Methods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
-
Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTask
-
-
-
-
Method Detail
-
setVerbose
public void setVerbose(boolean verbose)
-
isVerbose
public boolean isVerbose()
-
setCategories
public void setCategories(java.util.EnumSet<XPackInfoRequest.Category> categories)
-
getCategories
public java.util.EnumSet<XPackInfoRequest.Category> getCategories()
-
validate
public ActionRequestValidationException validate()
- Specified by:
validatein classActionRequest
-
readFrom
public void readFrom(StreamInput in) throws java.io.IOException
- Specified by:
readFromin interfaceStreamable- Overrides:
readFromin classActionRequest- Throws:
java.io.IOException
-
writeTo
public void writeTo(StreamOutput out) throws java.io.IOException
- Specified by:
writeToin interfaceStreamable- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classActionRequest- Throws:
java.io.IOException
-
-