Class ActivateWatchResponse

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

public final class ActivateWatchResponse
extends java.lang.Object
Response from an 'activate watch' request.
  • Constructor Summary

    Constructors
    Constructor Description
    ActivateWatchResponse​(WatchStatus status)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  
    static ActivateWatchResponse fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser)  
    WatchStatus getStatus()  
    int hashCode()  

    Methods inherited from class java.lang.Object

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

    • ActivateWatchResponse

      public ActivateWatchResponse​(WatchStatus status)
  • Method Details

    • getStatus

      public WatchStatus getStatus()
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • fromXContent

      public static ActivateWatchResponse fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException
      Throws:
      java.io.IOException