本文へ移動

@eightkk/vue-weave / core / ScheduleReason

Interface: ScheduleReason ​

Defined in: src/core/scheduleTrace.ts:27

One structured cause of a task's dates. Every field is data; nothing is worded for display.

Properties ​

bound ​

bound: ScheduleReasonBound

Defined in: src/core/scheduleTrace.ts:33


calendarId? ​

optional calendarId?: string

Defined in: src/core/scheduleTrace.ts:45

The calendar of a calendar reason; absent for the default continuous calendar.


candidateTime? ​

optional candidateTime?: number

Defined in: src/core/scheduleTrace.ts:35

The time the cause asks for, before calendars, pauses or capacity.


capacity? ​

optional capacity?: number

Defined in: src/core/scheduleTrace.ts:50

Capacity of the resource in range, before any reservation.


constraint? ​

optional constraint?: ScheduleConstraintName

Defined in: src/core/scheduleTrace.ts:43

The constraint name, as ScheduleFailure.constraints names it. A leveling horizon bound has none.


demand? ​

optional demand?: number

Defined in: src/core/scheduleTrace.ts:48

Units of the resource the task needs.


dependencyId? ​

optional dependencyId?: string

Defined in: src/core/scheduleTrace.ts:41


id ​

id: string

Defined in: src/core/scheduleTrace.ts:29

Unique within its trace.


kind ​

kind: ScheduleReasonKind

Defined in: src/core/scheduleTrace.ts:32


parentReasonIds ​

parentReasonIds: readonly string[]

Defined in: src/core/scheduleTrace.ts:59

Reasons that explain this one, for example the reasons of a predecessor.


phase ​

phase: ScheduleReasonPhase

Defined in: src/core/scheduleTrace.ts:31


placedTime? ​

optional placedTime?: number

Defined in: src/core/scheduleTrace.ts:40

The start or end (as bound says) the task got in this phase. In leveling, bound reasons describe the earliest placement before capacity is checked, and capacity reasons the placement after it.


range? ​

optional range?: TimeRange

Defined in: src/core/scheduleTrace.ts:57

The interval in which a resource lacked capacity.


relatedTaskIds? ​

optional relatedTaskIds?: readonly string[]

Defined in: src/core/scheduleTrace.ts:55

The other end of a dependency, the tasks that finish the project, the tasks holding the capacity, or the summary task that a subtask inherits a constraint from.


resourceId? ​

optional resourceId?: string

Defined in: src/core/scheduleTrace.ts:46


taskId ​

taskId: string

Defined in: src/core/scheduleTrace.ts:30

MIT ライセンスで公開しています。