Module org.elasticsearch.xcore
Class WatchRecord.ExceptionWatchRecord
java.lang.Object
org.elasticsearch.xpack.core.watcher.history.WatchRecord
org.elasticsearch.xpack.core.watcher.history.WatchRecord.ExceptionWatchRecord
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
- Enclosing class:
WatchRecord
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.core.watcher.history.WatchRecord
WatchRecord.ExceptionWatchRecord, WatchRecord.MessageWatchRecordNested 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
Fields inherited from class org.elasticsearch.xpack.core.watcher.history.WatchRecord
condition, executionResult, id, input, metadata, NODE, state, STATE, TRIGGER_EVENT, triggerEvent, TRUNCATED_RECORD_KEY, TRUNCATED_RECORD_VALUE, user, vars, watch, WATCH_IDFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionExceptionWatchRecord(WatchExecutionContext context, Exception exception) ExceptionWatchRecord(WatchExecutionContext context, WatchExecutionResult executionResult, Exception exception) ExceptionWatchRecord(WatchRecord record, Exception exception) -
Method Summary
Methods inherited from class org.elasticsearch.xpack.core.watcher.history.WatchRecord
equals, getNodeId, getState, hashCode, id, input, metadata, result, state, toString, toXContent, triggerEvent, watchIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
ExceptionWatchRecord
public ExceptionWatchRecord(WatchExecutionContext context, WatchExecutionResult executionResult, Exception exception) -
ExceptionWatchRecord
-
ExceptionWatchRecord
-
-
Method Details
-
getException
-
dropLargeFields
- Specified by:
dropLargeFieldsin classWatchRecord- Throws:
Exception
-