Documentation

ActionInterface
in

Interface for all action classes.

In general, constructors for classes implementing this interface should be protected in order to force instantiation via load(). This is because there should normally only ever be one instance of an action.

Table of Contents

Methods

call()  : void
Convenience method to load() and execute() an instance of the class.
execute()  : void
This method should function as the dispatcher to whatever sub-action methods are necessary. It is also the place to do any heavy lifting needed to finalize setup before dispatching to a sub-action method.
load()  : object
Static wrapper for constructor.

Methods

call()

Convenience method to load() and execute() an instance of the class.

public static call() : void

execute()

This method should function as the dispatcher to whatever sub-action methods are necessary. It is also the place to do any heavy lifting needed to finalize setup before dispatching to a sub-action method.

public execute() : void

load()

Static wrapper for constructor.

public static load() : object
Return values
object

An instance of the class.


        
On this page

Search results