ControllerMethod
class AControllerMethod
A ControllerMethod is a named, reusable, typed method on a controller, defined in its InterfaceLocal. It factors shared guard or helper logic out of inline code snippets so it can be called from transition guards and from state code. AControllerMethod is the abstract base; the concrete form carries a C-Minus body.
Create Controller-Method
Controller methods are created in the local interface of the controller.
Access to controller-local variables
In the controller method, access to all elements of a controller is possible.
Return
A controller method can define a return value.
Inheritance
Methods of a base controller can be overwritten. Overwritten methods are subsequently no longer visible in the derived controller, but can be called in the overwriting method using a SUPER object.
Controller methods as guard or as function in states
Controller methods can be used both as a function in states and as a guard.




