Package org.elasticsearch.client.watcher
Class ExecuteWatchResponse
java.lang.Object
org.elasticsearch.client.watcher.ExecuteWatchResponse
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ParseField
static final org.elasticsearch.xcontent.ParseField
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExecuteWatchResponse
fromXContent
(org.elasticsearch.xcontent.XContentParser parser) Returns the watch record as a map UseObjectPath
to navigate through the data
-
Field Details
-
ID_FIELD
public static final org.elasticsearch.xcontent.ParseField ID_FIELD -
WATCH_FIELD
public static final org.elasticsearch.xcontent.ParseField WATCH_FIELD
-
-
Constructor Details
-
ExecuteWatchResponse
public ExecuteWatchResponse() -
ExecuteWatchResponse
-
-
Method Details
-
getRecordId
- Returns:
- The id of the watch record holding the watch execution result.
-
getRecord
- Returns:
- The watch record source
-
getRecordAsMap
Returns the watch record as a map UseObjectPath
to navigate through the data -
fromXContent
public static ExecuteWatchResponse fromXContent(org.elasticsearch.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-