Class ExecuteWatchResponse

java.lang.Object
org.elasticsearch.client.watcher.ExecuteWatchResponse

public class ExecuteWatchResponse extends Object
  • 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

      public ExecuteWatchResponse(String recordId, org.elasticsearch.common.bytes.BytesReference contentSource)
  • Method Details

    • getRecordId

      public String getRecordId()
      Returns:
      The id of the watch record holding the watch execution result.
    • getRecord

      public org.elasticsearch.common.bytes.BytesReference getRecord()
      Returns:
      The watch record source
    • getRecordAsMap

      public Map<String,Object> getRecordAsMap()
      Returns the watch record as a map Use ObjectPath to navigate through the data
    • fromXContent

      public static ExecuteWatchResponse fromXContent(org.elasticsearch.xcontent.XContentParser parser) throws IOException
      Throws:
      IOException