Class AbstractParserProcedure

    • Constructor Detail

      • AbstractParserProcedure

        public AbstractParserProcedure()
    • Method Detail

      • getProcedureName

        public abstract String getProcedureName()
        Returns the procedure name. Can only consist of letters, underscores, numbers.
        Specified by:
        getProcedureName in interface ParserProcedure
        Returns:
        the name of the procedure
      • getProcedureHelp

        public abstract String getProcedureHelp()
        Returns the help string for the procedure.
        Specified by:
        getProcedureHelp in interface ParserProcedure
        Returns:
        the help string
      • check

        protected abstract String check​(Object[] params)
        Performs some checks on the input parameters.
        Parameters:
        params - the input parameters
        Returns:
        null if OK, otherwise error message
      • doCallProcedure

        protected abstract void doCallProcedure​(Object[] params)
        Gets called from the parser.
        Parameters:
        params - the parameters obtained through the parser
      • callProcedure

        public void callProcedure​(Object[] params)
        Gets called from the parser.
        Specified by:
        callProcedure in interface ParserProcedure
        Parameters:
        params - the parameters obtained through the parser
      • getProcedures

        public static String[] getProcedures()
        Returns a list with classnames of procedures.
        Returns:
        the filter classnames