Package org.elasticsearch.client.watcher
Class WatchStatus.State
- java.lang.Object
-
- org.elasticsearch.client.watcher.WatchStatus.State
-
- Enclosing class:
- WatchStatus
public static class WatchStatus.State extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description State(boolean active, org.joda.time.DateTime timestamp)
-
Method Summary
Modifier and Type Method Description org.joda.time.DateTime
getTimestamp()
boolean
isActive()
static WatchStatus.State
parse(XContentParser parser)
-
-
-
Method Detail
-
isActive
public boolean isActive()
-
getTimestamp
public org.joda.time.DateTime getTimestamp()
-
parse
public static WatchStatus.State parse(XContentParser parser) throws java.io.IOException
- Throws:
java.io.IOException
-
-