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
IsCreateSignature
this.IsCreate
IsStartedSignature
this.IsStarted
IsChangeSignature
this.IsChange
IsPauseSignature
this.IsPause
IsResumeSignature
this.IsResume

Summary

NameSignatureSynopsis
IsCreatethis.IsCreateNo description available.
IsStartedthis.IsStartedNo description available.
IsChangethis.IsChangeNo description available.
IsPausethis.IsPauseNo description available.
IsResumethis.IsResumeNo description available.
IsFirethis.IsFireNo description available.
IsDeletethis.IsDeleteNo 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.

IsCreate

this.IsCreate
Member

Returns

bool

IsStarted

this.IsStarted
Member

Returns

bool

IsChange

this.IsChange
Member

Returns

bool

IsPause

this.IsPause
Member

Returns

bool

IsResume

this.IsResume
Member

Returns

bool

IsFire

this.IsFire
Member

Returns

bool

IsDelete

this.IsDelete
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