Module org.elasticsearch.xcore
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
StoppedResult is a Action.Result with a reason().
Any StoppedResult should provide a reason why it is stopped.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.core.watcher.actions.Action.Result
Action.Result.Acknowledged, Action.Result.ConditionFailed, Action.Result.Failure, Action.Result.FailureWithException, Action.Result.Status, Action.Result.StoppedResult, Action.Result.ThrottledNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params -
Field Summary
Fields inherited from class org.elasticsearch.xpack.core.watcher.actions.Action.Result
status, typeFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStoppedResult(String type, Action.Result.Status status, String reason, Object... args) -
Method Summary
Modifier and TypeMethodDescriptionreason()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) Methods inherited from class org.elasticsearch.xpack.core.watcher.actions.Action.Result
status, typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
StoppedResult
-
-
Method Details
-
reason
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Throws:
IOException
-