public static class ReplicationTask.Status extends java.lang.Object implements Task.Status
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.Reader<R>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
EMPTY_PARAMS
Constructor and Description |
---|
Status(StreamInput in) |
Status(java.lang.String phase) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getWriteableName()
Returns the name of the writeable object
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
public static final java.lang.String NAME
public Status(java.lang.String phase)
public Status(StreamInput in) throws java.io.IOException
java.io.IOException
public java.lang.String getWriteableName()
NamedWriteable
getWriteableName
in interface NamedWriteable<Task.Status>
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
writeTo
in interface Writeable<Task.Status>
java.io.IOException