Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface StateModelBuildEntry

Hierarchy

Index

Properties

Optional exclude

exclude: boolean

if true, the corresponding resource will be excluded (when parsing path)

Optional file

file: string

for explicitly specifying the state-machine directly (e.g. instead or in addition of parsing path)

Optional force

force: boolean

if TRUE the targets will be newly created and written to the targetDir, even if the existence or up-to-date check returns true

Optional id

id: string

The ID for state model

NOTE: should not be set manually: ID will be derived from entry key of models property of the containing StateOptions

Optional ignoreErrors

ignoreErrors: boolean

if true, runtime errors will be ignored. if false (or omitted) the compilation will fail with an error message when encountering SCXML runtime errors.

NOTE: if ignored, the runtime errors will be triggered when the state-machine enters the corresponing state during runtime!

default

false

Optional mode

run SCXML model in "simple" or "extended" mode

default

"extended"

Optional moduleId

moduleId: string

the module ID for state interpreter: if the interpreter is registered, it can be require'd using the moduleId, e.g.

var stateManager = mmir.require(<moduleId>);

(the moduleId will be automatically set for inputManager and dialogManager)

Optional moduleType

moduleType: "amd" | "commonjs"

the module type of the generated/compiled state machine

default

"amd"

Optional strict

strict: boolean

set or disable strict-mode for generated JavaScript code

default

true

Optional targetDir

targetDir: string

directory to which the compiled resources like grammars (and checksum files) will be stored

by default, the relative paths are resolved against the app's root directory; if the target directory is missing it will be newly created.

default

BuildAppConfig.targetDir + ResourceType

Generated using TypeDoc