Class Action.Result.StoppedResult

java.lang.Object
org.elasticsearch.xpack.core.watcher.actions.Action.Result
org.elasticsearch.xpack.core.watcher.actions.Action.Result.StoppedResult
All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentFragment
Direct Known Subclasses:
Action.Result.Acknowledged, Action.Result.ConditionFailed, Action.Result.Failure, Action.Result.Throttled
Enclosing class:
Action.Result

public static class Action.Result.StoppedResult extends Action.Result
StoppedResult is a Action.Result with a reason().

Any StoppedResult should provide a reason why it is stopped.

  • Constructor Details

  • Method Details

    • reason

      public String reason()
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Throws:
      IOException