ZScheduleState

zio.temporal.schedules.ZScheduleState
See theZScheduleState companion object
final case class ZScheduleState(note: Option[String], paused: Option[Boolean], limitedAction: Option[Boolean], remainingActions: Option[Long])

State of a schedule.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def toJava: ScheduleState
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
def withLimitedAction(value: Boolean): ZScheduleState

Set ,if true, whether remaining actions will be decremented for each action

Set ,if true, whether remaining actions will be decremented for each action

Attributes

def withNote(value: String): ZScheduleState

Set a human-readable message for the schedule.

Set a human-readable message for the schedule.

Attributes

def withPaused(value: Boolean): ZScheduleState

Set whether this schedule is paused.

Set whether this schedule is paused.

Attributes

Set the actions remaining on this schedule. Once this number hits 0, no further actions are scheduled automatically.

Set the actions remaining on this schedule. Once this number hits 0, no further actions are scheduled automatically.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product