Package org.elasticsearch.client.watcher
Class AckWatchResponse
- java.lang.Object
-
- org.elasticsearch.client.watcher.AckWatchResponse
-
public class AckWatchResponse extends java.lang.Object
The response from an 'ack watch' request.
-
-
Constructor Summary
Constructors Constructor Description AckWatchResponse(WatchStatus status)
-
Method Summary
Modifier and Type Method Description static AckWatchResponse
fromXContent(XContentParser parser)
WatchStatus
getStatus()
-
-
-
Constructor Detail
-
AckWatchResponse
public AckWatchResponse(WatchStatus status)
-
-
Method Detail
-
getStatus
public WatchStatus getStatus()
- Returns:
- the status of the requested watch. If an action was successfully acknowledged, this will be reflected in its status.
-
fromXContent
public static AckWatchResponse fromXContent(XContentParser parser) throws java.io.IOException
- Throws:
java.io.IOException
-
-