Class BaseMacro

    • Constructor Detail

      • BaseMacro

        public BaseMacro()
    • Method Detail

      • getName

        public abstract String getName()
        Get the name of the macro. This is used to map a macro in the input to the macro which should be called. The method has to be implemented by subclassing classes.
        Specified by:
        getName in interface Macro
        Returns:
        name Name of the Macro
      • getDescription

        public String getDescription()
        Get a description of the macro. This description explains in a short way what the macro does
        Specified by:
        getDescription in interface Macro
        Returns:
        description A string describing the macro
      • getParamDescription

        public String[] getParamDescription()
        Get a description of the paramters of the macro. The method returns an array with an String entry for every parameter. The format is {"1: description", ...} where 1 is the position of the parameter.
        Specified by:
        getParamDescription in interface Macro
        Returns:
        description Array describing the parameters of the macro