ScheduleCommandUnion

PackageFCQRS.Workflows
What the application, or the schedule dispatcher, can ask a schedule to do. Written `ScheduleCommand.Create` and so on.

Specification

Kind
Union
Members
14
Examples
0
IsStartedSignature
this.IsStarted
IsPauseSignature
this.IsPause
IsDeleteSignature
this.IsDelete
IsChangeSignature
this.IsChange
IsFireSignature
this.IsFire

Summary

NameSignatureSynopsis
IsStartedthis.IsStartedNo description available.
IsPausethis.IsPauseNo description available.
IsDeletethis.IsDeleteNo description available.
IsChangethis.IsChangeNo description available.
IsFirethis.IsFireNo description available.
IsResumethis.IsResumeNo description available.
IsCreatethis.IsCreateNo description available.
CreateCreate ScheduleSpecStores a new schedule.
ChangeChange ScheduleSpecReplaces the schedule's workflow, input, rule and catch-up policy.
PausePauseStops the schedule from starting runs.
ResumeResumeLets a paused schedule start runs again, from the first due time after the resume.
DeleteDeleteEnds the schedule.
FireFire dueAsks to start the run for a due time.
StartedStarted dueReports that the run for an accepted due time has been started, or given up because its workflow cannot read the stored input.

IsStarted

this.IsStarted
Member

Returns

bool

IsPause

this.IsPause
Member

Returns

bool

IsDelete

this.IsDelete
Member

Returns

bool

IsChange

this.IsChange
Member

Returns

bool

IsFire

this.IsFire
Member

Returns

bool

IsResume

this.IsResume
Member

Returns

bool

IsCreate

this.IsCreate
Member

Returns

bool

Create

Create ScheduleSpec
Member
Stores a new schedule.

Parameters

NameTypeDescription
ItemScheduleSpec

Returns

unit

Change

Change ScheduleSpec
Member
Replaces the schedule's workflow, input, rule and catch-up policy.

Parameters

NameTypeDescription
ItemScheduleSpec

Returns

unit

Pause

Pause
Member
Stops the schedule from starting runs.

Returns

unit

Resume

Resume
Member
Lets a paused schedule start runs again, from the first due time after the resume.

Returns

unit

Delete

Delete
Member
Ends the schedule. Its ID cannot be used for a new schedule.

Returns

unit

Fire

Fire due
Member
Asks to start the run for a due time. The schedule decides whether that due time runs.

Parameters

NameTypeDescription
dueDateTime

Returns

unit

Started

Started due
Member
Reports that the run for an accepted due time has been started, or given up because its workflow cannot read the stored input.

Parameters

NameTypeDescription
dueDateTime

Returns

unit