Module org.elasticsearch.xcore
Class WatchRecord
java.lang.Object
org.elasticsearch.xpack.core.watcher.history.WatchRecord
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
- Direct Known Subclasses:
WatchRecord.ExceptionWatchRecord,WatchRecord.MessageWatchRecord
public abstract class WatchRecord
extends Object
implements org.elasticsearch.xcontent.ToXContentObject
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested 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
FieldsModifier and TypeFieldDescriptionprotected final ExecutableConditionprotected final WatchExecutionResultprotected final Widprotected final ExecutableInput<? extends Input, ? extends Input.Result> static final org.elasticsearch.xcontent.ParseFieldprotected final ExecutionStatestatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldprotected final TriggerEventstatic final Stringstatic final Stringprotected final Stringprotected final Watchstatic final org.elasticsearch.xcontent.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 org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.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
public static final org.elasticsearch.xcontent.ParseField WATCH_ID -
STATE
public static final org.elasticsearch.xcontent.ParseField STATE -
TRIGGER_EVENT
public static final org.elasticsearch.xcontent.ParseField TRIGGER_EVENT -
NODE
public static final org.elasticsearch.xcontent.ParseField 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 org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-
dropLargeFields
- Throws:
Exception
-