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(org.elasticsearch.common.xcontent.XContentParser parser)
WatchStatus
getStatus()
-
Constructor Details
-
Method Details
-
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(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-