Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ShelvingStateMachine

Hierarchy

  • StateMachine
    • ShelvingStateMachine

Implements

  • UAObject
  • StateMachine

Constructors

constructor

Properties

_currentStateNode

_currentStateNode: State | null

_duration

_duration: number

_sheveldTime

_sheveldTime: Date

_timer

_timer: Timer | null

_unshelvedTime

_unshelvedTime: Date

currentState

currentState: UAVariablePublic
property

currentState

Readonly eventNotifier

eventNotifier: number

Readonly nodeClass

nodeClass: Object = NodeClass.Object

Optional nodeVersion

nodeVersion: UAVariableT<string, String>

NodeVersion (Optional) String The NodeVersion Property is used to indicate the version of a Node. The NodeVersion Property is updated each time a Reference is added or deleted to the Node the Property belongs to. Attribute value changes do not cause the NodeVersion to change. Clients may read the NodeVersion Property or subscribe to it to determine when the structure of a Node has changed.

oneShotShelve

oneShotShelve: UAMethod

Readonly symbolicName

symbolicName: string

timedShelve

timedShelve: UAMethod

unshelve

unshelve: UAMethod

unshelveTime

unshelveTime: UAVariable

Accessors

currentStateNode

  • get currentStateNode(): State | null
  • set currentStateNode(value: State | null): void
  • property

    currentStateNode

    Returns State | null

  • property

    currentStateNode

    Parameters

    Returns void

hasMethods

  • get hasMethods(): boolean

initialState

  • return the node InitialStateType

    property

    initialState

    Returns UAObject

states

  • get states(): any[]
  • Returns any[]

transitions

typeDefinitionObj

  • get typeDefinitionObj(): UAObjectTypePublic

Methods

_bubble_up_event

  • _bubble_up_event(eventData: any): void

_conditionRefresh

  • _conditionRefresh(_cache?: any): void

clone

  • clone(options: any, optionalFilter?: any, extraInfo?: any): UAObject

findTransitionNode

getCurrentState

  • getCurrentState(): string | null

getMethodByName

  • getMethodByName(methodName: string): UAMethodPublic | null

getMethods

  • getMethods(): UAMethodPublic[]

getStateByName

  • getStateByName(name: string): State | null
  • method

    getStateByName

    Parameters

    • name: string

      the name of the state to get

    Returns State | null

    the state with the given name

getStates

getTransitions

isValidTransition

raiseEvent

readAttribute

setState

toString

  • toString(): string

Static promote

  • Parameters

    Returns ShelvingStateMachine

Generated using TypeDoc