Class ScheduleState
java.lang.Object
io.temporal.client.schedules.ScheduleState
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleangetNote()Gets the human-readable message for the schedule.longGets the actions remaining on this schedule.inthashCode()booleanGets a value indicating whether, if true, remaining actions will be decremented for each action taken.booleanisPaused()Gets a value indicating whether this schedule is paused.static ScheduleState.Builderstatic ScheduleState.BuildernewBuilder(ScheduleState options) toString()
-
Method Details
-
newBuilder
-
newBuilder
-
getNote
Gets the human-readable message for the schedule.- Returns:
- the schedules note
-
isPaused
public boolean isPaused()Gets a value indicating whether this schedule is paused.- Returns:
- if the schedule is paused
-
isLimitedAction
public boolean isLimitedAction()Gets a value indicating whether, if true, remaining actions will be decremented for each action taken.- Returns:
- if the schedule has limited actions
-
getRemainingActions
public long getRemainingActions()Gets the actions remaining on this schedule. Once this number hits 0, no further actions are scheduled automatically.- Returns:
- the number of remaining actions
-
equals
-
hashCode
-
toString
-