Class AbstractController

  • All Implemented Interfaces:
    Controller

    public abstract class AbstractController
    extends Object
    implements Controller
    Abstract implementation of a controller.
    Author:
    Andrea "Stock" Stocchero
    • Constructor Detail

      • AbstractController

        protected AbstractController​(ControllerType type)
        Creates the controller by its type.
        Parameters:
        type - the type of this controller.
    • Method Detail

      • getType

        public final ControllerType getType()
        Controller must define a unique id in order to be configurable.
        Returns the controller id.
        Returns:
        the controller id.