Module org.elasticsearch.xcore
Class Transform.Result
java.lang.Object
org.elasticsearch.xpack.core.watcher.transform.Transform.Result
- All Implemented Interfaces:
ToXContent,ToXContentObject
- Direct Known Subclasses:
ChainTransform.Result
- Enclosing interface:
Transform
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Exceptionprotected final Payloadprotected final Stringprotected final Transform.Result.Statusprotected final StringFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpayload()reason()status()final XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params) type()protected abstract XContentBuildertypeXContent(XContentBuilder builder, ToXContent.Params params) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
type
-
status
-
payload
-
reason
-
exception
-
-
Constructor Details
-
Result
-
Result
-
Result
-
-
Method Details
-
type
-
status
-
payload
-
reason
-
toXContent
public final XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
typeXContent
protected abstract XContentBuilder typeXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Throws:
IOException
-