Package io.temporal.client.schedules
Class ScheduleActionResult
- java.lang.Object
-
- io.temporal.client.schedules.ScheduleActionResult
-
public final class ScheduleActionResult extends java.lang.ObjectInformation about when an action took place.
-
-
Constructor Summary
Constructors Constructor Description ScheduleActionResult(java.time.Instant scheduledAt, java.time.Instant startedAt, ScheduleActionExecution action)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)ScheduleActionExecutiongetAction()Action that took place.java.time.InstantgetScheduledAt()Get the scheduled time of the action including jitter.java.time.InstantgetStartedAt()Get when the action actually started.inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
ScheduleActionResult
public ScheduleActionResult(java.time.Instant scheduledAt, java.time.Instant startedAt, ScheduleActionExecution action)
-
-
Method Detail
-
getScheduledAt
public java.time.Instant getScheduledAt()
Get the scheduled time of the action including jitter.- Returns:
- scheduled time of action
-
getStartedAt
public java.time.Instant getStartedAt()
Get when the action actually started.- Returns:
- time action actually started
-
getAction
public ScheduleActionExecution getAction()
Action that took place.- Returns:
- action started
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-