class ControllerActions
Package: swiss.avm.up.core.generic.specification.javamodel.ControllerActions
Direct Known Subclasses:
class ControllerActions extends Resource
ControllerActions is a controller's container for cyclic code that runs outside the statemachine: a one-time init hook and hooks that run before and after the states each cycle, plus not-exist behaviour. Controllers without a statemachine, such as I/O and driver controllers, do their whole job here.
Properties
alwaysAfterStatemachine
This function is called cyclically, after processing of the states of the state machine.
AlwaysAfterFunctionExtend[0..N]
alwaysBeforeStatemachine
This function is called cyclically before the states of the state machine are executed.
AlwaysBeforeFunctionExtend[0..N]
init
This function is called upon start-up, before the cyclic sequence of the state machine.
InitFunctionExtend[0..N]
notExistBehaviour
This function is called cyclically while not exist flag is active.
NotExistBehaviour[0..1]
This class defines the behaviour of statemachine if controller exist flag is false. Without any definitions, native single answer implementation is active.
Use singleAnswerOverwrite definition to change single answer behaviour dependent of requested command.
Define a function to implemement another specific behaviour during single answer mode.
Method Summary
getAlwaysAfterFunctionsToExtend
@FStatemachineStateExtend
for useRangeRestrictionAspect
Return:
List<Function>
getAlwaysBeforeFunctionsToExtend
@FStatemachineStateExtend
for useRangeRestrictionAspect
Return:
List<Function>
getController
@FStatemachineStateExtend
Return:
Controller
getInitFunctionsToExtend
@FStatemachineStateExtend
for useRangeRestrictionAspect
Return:
List<Function>
getNotExistBehaviourFunctionsToExtend
@FStatemachineStateExtend
for useRangeRestrictionAspect
Return:
List<Function>