Class Application

  • All Implemented Interfaces:
    Runnable

    public final class Application
    extends Object
    implements Runnable
    Watset command-line interface.
    • Constructor Detail

      • Application

        public Application()
        Create an instance of the Watset command-line interface.
    • Method Detail

      • main

        public static void main​(String[] args)
        Watset command-line interface entry point.
        Parameters:
        args - the command-line arguments
      • parse

        public Application.ParseStatus parse​(String... args)
        Parse the command-line arguments.
        Parameters:
        args - the command-line arguments
        Returns:
        the status
      • run

        public void run()
        Run the parsed command.
        Specified by:
        run in interface Runnable
      • run

        public void run​(String command)
        Run the specified command.
        Parameters:
        command - the command