Module org.elasticsearch.xcore
Class ExecutableInput<I extends Input,R extends Input.Result>
java.lang.Object
org.elasticsearch.xpack.core.watcher.input.ExecutableInput<I,R>
- All Implemented Interfaces:
ToXContent,ToXContentObject
public abstract class ExecutableInput<I extends Input,R extends Input.Result>
extends Object
implements ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
FieldsFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanabstract Rexecute(WatchExecutionContext ctx, Payload payload) Executes this inputinthashCode()input()toXContent(XContentBuilder builder, ToXContent.Params params) final Stringtype()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
input
-
-
Constructor Details
-
ExecutableInput
-
-
Method Details
-
type
- Returns:
- the type of this input
-
input
-
execute
Executes this input -
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-