Interface Command

  • All Known Implementing Classes:
    DefaultCommand

    public interface Command
    Command Line interface.
    A command line is defined by:
    • Executable path (or executable name if it is globally available).
    • List of arguments: may be empty.
    Each of these should be returned in the getArguments() method:
    • First element is the executable value.
    • Next elements are the executable arguments.
    • Method Detail

      • getArguments

        List<String> getArguments()
        Command arguments:
        • First item should be the command line executable value.
        • Next items should be the command line arguments.
        Returns:
        Command arguments.