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 Summary

    Modifier and Type
    Method
    Description
    Command arguments: First item should be the command line executable value. Next items should be the command line arguments.
  • Method Details

    • 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.