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()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • 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​(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException
      Throws:
      java.io.IOException