Package io.temporal.client.schedules
Class ScheduleActionResult
- java.lang.Object
-
- io.temporal.client.schedules.ScheduleActionResult
-
public final class ScheduleActionResult extends java.lang.Object
Information 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 boolean
equals(java.lang.Object o)
ScheduleActionExecution
getAction()
Action that took place.java.time.Instant
getScheduledAt()
Get the scheduled time of the action including jitter.java.time.Instant
getStartedAt()
Get when the action actually started.int
hashCode()
java.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-