Package com.floragunn.signals.execution
Class WatchExecutionContextData.TriggerInfo
- java.lang.Object
-
- com.floragunn.signals.execution.WatchExecutionContextData.TriggerInfo
-
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
- Enclosing class:
- WatchExecutionContextData
public static class WatchExecutionContextData.TriggerInfo extends Object implements org.elasticsearch.xcontent.ToXContentObject
-
-
Field Summary
Fields Modifier and Type Field Description org.elasticsearch.script.JodaCompatibleZonedDateTimenextScheduledTimeorg.elasticsearch.script.JodaCompatibleZonedDateTimepreviousScheduledTimeorg.elasticsearch.script.JodaCompatibleZonedDateTimescheduledTimeorg.elasticsearch.script.JodaCompatibleZonedDateTimetriggeredTime
-
Constructor Summary
Constructors Constructor Description TriggerInfo()TriggerInfo(Date triggeredTime, Date scheduledTime, Date previousScheduledTime, Date nextScheduledTime)TriggerInfo(org.elasticsearch.script.JodaCompatibleZonedDateTime triggeredTime, org.elasticsearch.script.JodaCompatibleZonedDateTime scheduledTime, org.elasticsearch.script.JodaCompatibleZonedDateTime previousScheduledTime, org.elasticsearch.script.JodaCompatibleZonedDateTime nextScheduledTime)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WatchExecutionContextData.TriggerInfocreate(com.fasterxml.jackson.databind.JsonNode jsonNode)org.elasticsearch.script.JodaCompatibleZonedDateTimegetNext_scheduled_time()org.elasticsearch.script.JodaCompatibleZonedDateTimegetNextScheduledTime()org.elasticsearch.script.JodaCompatibleZonedDateTimegetPrevious_scheduled_time()org.elasticsearch.script.JodaCompatibleZonedDateTimegetPreviousScheduledTime()org.elasticsearch.script.JodaCompatibleZonedDateTimegetScheduled_time()org.elasticsearch.script.JodaCompatibleZonedDateTimegetScheduledTime()org.elasticsearch.script.JodaCompatibleZonedDateTimegetTriggered_time()org.elasticsearch.script.JodaCompatibleZonedDateTimegetTriggeredTime()Map<String,Object>toMap()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params)
-
-
-
Field Detail
-
triggeredTime
public final org.elasticsearch.script.JodaCompatibleZonedDateTime triggeredTime
-
scheduledTime
public final org.elasticsearch.script.JodaCompatibleZonedDateTime scheduledTime
-
previousScheduledTime
public final org.elasticsearch.script.JodaCompatibleZonedDateTime previousScheduledTime
-
nextScheduledTime
public final org.elasticsearch.script.JodaCompatibleZonedDateTime nextScheduledTime
-
-
Constructor Detail
-
TriggerInfo
public TriggerInfo()
-
TriggerInfo
public TriggerInfo(org.elasticsearch.script.JodaCompatibleZonedDateTime triggeredTime, org.elasticsearch.script.JodaCompatibleZonedDateTime scheduledTime, org.elasticsearch.script.JodaCompatibleZonedDateTime previousScheduledTime, org.elasticsearch.script.JodaCompatibleZonedDateTime nextScheduledTime)
-
-
Method Detail
-
toXContent
public 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
-
create
public static WatchExecutionContextData.TriggerInfo create(com.fasterxml.jackson.databind.JsonNode jsonNode)
-
getTriggeredTime
public org.elasticsearch.script.JodaCompatibleZonedDateTime getTriggeredTime()
-
getScheduledTime
public org.elasticsearch.script.JodaCompatibleZonedDateTime getScheduledTime()
-
getPreviousScheduledTime
public org.elasticsearch.script.JodaCompatibleZonedDateTime getPreviousScheduledTime()
-
getNextScheduledTime
public org.elasticsearch.script.JodaCompatibleZonedDateTime getNextScheduledTime()
-
getTriggered_time
public org.elasticsearch.script.JodaCompatibleZonedDateTime getTriggered_time()
-
getScheduled_time
public org.elasticsearch.script.JodaCompatibleZonedDateTime getScheduled_time()
-
getPrevious_scheduled_time
public org.elasticsearch.script.JodaCompatibleZonedDateTime getPrevious_scheduled_time()
-
getNext_scheduled_time
public org.elasticsearch.script.JodaCompatibleZonedDateTime getNext_scheduled_time()
-
-