Module org.elasticsearch.xcore
Class WatchExecutionSnapshot
java.lang.Object
org.elasticsearch.xpack.core.watcher.execution.WatchExecutionSnapshot
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionWatchExecutionSnapshot(WatchExecutionContext context, StackTraceElement[] executionStackTrace) -
Method Summary
Modifier and TypeMethodDescriptiontoXContent(XContentBuilder builder, ToXContent.Params params) watchId()voidwriteTo(StreamOutput out) 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
-
Constructor Details
-
WatchExecutionSnapshot
public WatchExecutionSnapshot(WatchExecutionContext context, StackTraceElement[] executionStackTrace) -
WatchExecutionSnapshot
- Throws:
IOException
-
-
Method Details
-
watchId
-
watchRecordId
-
triggeredTime
-
executionTime
-
executionPhase
-
executionStackTrace
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-