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, java.time.ZonedDateTime timestamp)
-
Method Summary
Modifier and Type Method Description java.time.ZonedDateTime
getTimestamp()
boolean
isActive()
static WatchStatus.State
parse(XContentParser parser)
-
Constructor Details
-
State
public State(boolean active, java.time.ZonedDateTime timestamp)
-
-
Method Details
-
isActive
public boolean isActive() -
getTimestamp
public java.time.ZonedDateTime getTimestamp() -
parse
- Throws:
java.io.IOException
-