Class CommonCommands2

    • Field Detail

      • placeHolder

        public String placeHolder
        This is used wherever a missing value is.
    • Constructor Detail

      • CommonCommands2

        public CommonCommands2​(CLIDriver driver)
    • Method Detail

      • sayii

        protected void sayii​(String x)
        Double indent -- useful for lists.
        Parameters:
        x -
      • say2

        protected void say2​(String x)
        Output the string without any linefeed. This is used for prompts.
        Parameters:
        x -
      • isEmpty

        protected boolean isEmpty​(String x)
      • getPlaceHolder

        public String getPlaceHolder()
        Gets the placeholder for missing values. E.g. if a value (like a last name) is missing this will be displayed.
        Returns:
      • setPlaceHolder

        public void setPlaceHolder​(String placeHolder)
      • getValue

        protected String getValue​(String x)
        Returns the value if it is not empty of a placeholder if it is.
        Parameters:
        x -
        Returns:
      • isVerbose

        public boolean isVerbose()
      • setVerboseHelp

        protected void setVerboseHelp()
      • set_verbose_on

        public void set_verbose_on​(InputLine inputLine)
                            throws Exception
        So batch files can change whether or not they are verbose
        Parameters:
        inputLine -
        Throws:
        Exception
      • setOutputOnHelp

        protected void setOutputOnHelp()
      • versionHelp

        protected void versionHelp()
      • version

        public void version​(InputLine inputLine)