AlarmTriggeringActionTransitionSpec

AlarmTriggeringActionTransitionSpec
AlarmTriggeringActionTransitionSpec

Specification indicating which on transitions this action fires.

The existence of a Spec indicates that this action fires on transitions from that Spec's startState to finalState.

There are six acceptable {startState, finalState} pairs: {green, yellow}, {green, red}, {yellow, red}, {red, yellow}, {red, green} and {yellow, green}. Direct transitions have precedence over indirect. At least one of these pairs must be specified. Any deviation from the above will render the enclosing AlarmSpec invalid.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "startState": "string",
    "finalState": "string",
    "repeats": false
}
startState
Required

The state from which the alarm must transition for the action to fire.

Valid choices are red, yellow and green.

finalState
Required

The state to which the alarm must transition for the action to fire.

Valid choices are red, yellow, and green.

boolean
repeats
Required

Whether or not the action repeats, as per the actionFrequency defined in the enclosing Alarm.