Options
All
  • Public
  • Public/Protected
  • All
Menu

Options for running the job not related directly to scenarios or fire growth.

Hierarchy

Index

Properties

Protected fetchState

fetchState: number = 0

loadBalance

loadBalance: LoadBalanceType = LoadBalanceType.NONE

The type of load balancing to use to run the job.

priority

priority: number = 0

A priority to use to sort the job queue. When a job is recieved by an instance of W.I.S.E. Manager it will be placed in the job queue immediately below the first job found with the same or higher priority that isn't already running starting from the bottom of the queue.

The priority can be any valid integer value.

validate

validate: boolean = false

Should the job be validated by W.I.S.E. instead of being run. The user can redo the job if there is a validation error or restart the job so that it simulates in W.I.S.E. using MQTT commands.

Static Private Readonly PARAM_OPTIONS

PARAM_OPTIONS: "fgm_settings" = "fgm_settings"

Methods

checkValid

  • Find all errors that may exist in the job settings.

    readonly

    A list of all errors that were found.

    Returns Array<ValidationError>

stream

  • stream(builder: Socket): void
  • Streams the options to a socket.

    Parameters

    • builder: Socket

    Returns void