java.lang.Object
org.elasticsearch.cluster.AbstractNamedDiffable<Metadata.Custom>
org.elasticsearch.xpack.core.watcher.WatcherMetadata
- All Implemented Interfaces:
Diffable<Metadata.Custom>,Metadata.Custom,NamedDiffable<Metadata.Custom>,NamedWriteable,VersionedNamedWriteable,Writeable,ChunkedToXContent
public class WatcherMetadata
extends AbstractNamedDiffable<Metadata.Custom>
implements Metadata.Custom
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsFields inherited from interface org.elasticsearch.common.xcontent.ChunkedToXContent
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionWatcherMetadata(boolean manuallyStopped) WatcherMetadata(StreamInput streamInput) -
Method Summary
Modifier and TypeMethodDescriptioncontext()booleanstatic Metadata.CustomfromXContent(org.elasticsearch.xcontent.XContentParser parser) inthashCode()booleanstatic NamedDiff<Metadata.Custom> readDiffFrom(StreamInput streamInput) toString()Iterator<? extends org.elasticsearch.xcontent.ToXContent> toXContentChunked(org.elasticsearch.xcontent.ToXContent.Params ignored) voidwriteTo(StreamOutput streamOutput) Methods inherited from class org.elasticsearch.cluster.AbstractNamedDiffable
diff, get, readDiffFromMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.common.xcontent.ChunkedToXContent
isFragment, toXContentChunkedV7Methods inherited from interface org.elasticsearch.cluster.metadata.Metadata.Custom
isRestorable
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
WatcherMetadata
public WatcherMetadata(boolean manuallyStopped) -
WatcherMetadata
- Throws:
IOException
-
-
Method Details
-
manuallyStopped
public boolean manuallyStopped() -
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable- Specified by:
getWriteableNamein interfaceVersionedNamedWriteable
-
getMinimalSupportedVersion
- Specified by:
getMinimalSupportedVersionin interfaceVersionedNamedWriteable
-
context
- Specified by:
contextin interfaceMetadata.Custom
-
readDiffFrom
- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toString
-
equals
-
hashCode
public int hashCode() -
fromXContent
public static Metadata.Custom fromXContent(org.elasticsearch.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
toXContentChunked
public Iterator<? extends org.elasticsearch.xcontent.ToXContent> toXContentChunked(org.elasticsearch.xcontent.ToXContent.Params ignored) - Specified by:
toXContentChunkedin interfaceChunkedToXContent
-