Module org.elasticsearch.xcore
Class WatchStatus.State
java.lang.Object
org.elasticsearch.xpack.core.watcher.watch.WatchStatus.State
- All Implemented Interfaces:
ToXContent,ToXContentObject
- Enclosing class:
WatchStatus
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisActive()static WatchStatus.Stateparse(XContentParser parser) toXContent(XContentBuilder builder, ToXContent.Params params) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
State
-
-
Method Details
-
isActive
public boolean isActive() -
getTimestamp
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
parse
- Throws:
IOException
-