Module org.elasticsearch.xcore
Class WatchRecord
java.lang.Object
org.elasticsearch.xpack.core.watcher.history.WatchRecord
- All Implemented Interfaces:
ToXContent,ToXContentObject
- Direct Known Subclasses:
WatchRecord.ExceptionWatchRecord,WatchRecord.MessageWatchRecord
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ExecutableConditionprotected final WatchExecutionResultprotected final Widprotected final ExecutableInput<? extends Input, ? extends Input.Result> static final ParseFieldprotected final ExecutionStatestatic final ParseFieldstatic final ParseFieldprotected final TriggerEventstatic final Stringstatic final Stringprotected final Stringprotected final Watchstatic final ParseFieldFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionabstract WatchRecordbooleanstatic ExecutionStategetState(WatchExecutionResult executionResult) inthashCode()id()ExecutableInput<? extends Input, ? extends Input.Result> input()metadata()result()state()toString()final XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params) watchId()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
WATCH_ID
-
STATE
-
TRIGGER_EVENT
-
NODE
-
TRUNCATED_RECORD_KEY
- See Also:
-
TRUNCATED_RECORD_VALUE
- See Also:
-
id
-
watch
-
triggerEvent
-
state
-
user
-
vars
-
input
-
condition
-
metadata
-
executionResult
-
-
Method Details
-
getState
-
id
-
triggerEvent
-
watchId
-
input
-
state
-
metadata
-
result
-
getNodeId
-
toXContent
public final XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-
dropLargeFields
- Throws:
Exception
-