hacifootprint
hcifootprintInterfaces

Lifecycle

Interface: Lifecycle

Defined in: src/action/lifecycle.ts:40

Properties

chart

readonly chart: LifecycleChart

Defined in: src/action/lifecycle.ts:41


initial

readonly initial: string

Defined in: src/action/lifecycle.ts:42

Methods

assertMove()

assertMove(from, to, by?): void

Defined in: src/action/lifecycle.ts:46

Refuses an illegal move with the legal ones named — never a boolean a caller can forget to check.

Parameters

from

string

to

string

by?

Principal

Returns

void


isTerminal()

isTerminal(state): boolean

Defined in: src/action/lifecycle.ts:43

Parameters

state

string

Returns

boolean

On this page