Class StartStopTenantRequest
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportRequest
-
- org.elasticsearch.action.ActionRequest
-
- com.floragunn.signals.actions.tenant.start_stop.StartStopTenantRequest
-
- All Implemented Interfaces:
org.elasticsearch.common.io.stream.Writeable,org.elasticsearch.tasks.TaskAwareRequest
public class StartStopTenantRequest extends org.elasticsearch.action.ActionRequest
-
-
Constructor Summary
Constructors Constructor Description StartStopTenantRequest()StartStopTenantRequest(boolean activate)StartStopTenantRequest(org.elasticsearch.common.io.stream.StreamInput in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisActivate()voidsetActivate(boolean activate)org.elasticsearch.action.ActionRequestValidationExceptionvalidate()voidwriteTo(org.elasticsearch.common.io.stream.StreamOutput out)-
Methods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTask
-
Methods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddress
-
-
-
-
Constructor Detail
-
StartStopTenantRequest
public StartStopTenantRequest()
-
StartStopTenantRequest
public StartStopTenantRequest(boolean activate)
-
StartStopTenantRequest
public StartStopTenantRequest(org.elasticsearch.common.io.stream.StreamInput in) throws IOException- Throws:
IOException
-
-
Method Detail
-
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.ActionRequest- Throws:
IOException
-
validate
public org.elasticsearch.action.ActionRequestValidationException validate()
- Specified by:
validatein classorg.elasticsearch.action.ActionRequest
-
isActivate
public boolean isActivate()
-
setActivate
public void setActivate(boolean activate)
-
-