Schnittstelle ExecSpec

Alle Superschnittstellen:
BaseExecSpec, ProcessForkOptions
Alle bekannten Implementierungsklassen:
AbstractExecTask, Exec, RunTestExecutable

public interface ExecSpec extends BaseExecSpec
Specified the options for executing some command.
  • Methodendetails

    • setCommandLine

      void setCommandLine(List<String> args)
      Sets the full command line, including the executable to be executed plus its arguments.
      Parameter:
      args - the command plus the args to be executed
      Seit:
      4.0
    • setCommandLine

      void setCommandLine(Object... args)
      Sets the full command line, including the executable to be executed plus its arguments.
      Parameter:
      args - the command plus the args to be executed
    • setCommandLine

      void setCommandLine(Iterable<?> args)
      Sets the full command line, including the executable to be executed plus its arguments.
      Parameter:
      args - the command plus the args to be executed
    • commandLine

      ExecSpec commandLine(Object... args)
      Sets the full command line, including the executable to be executed plus its arguments.
      Parameter:
      args - the command plus the args to be executed
      Gibt zurück:
      this
    • commandLine

      ExecSpec commandLine(Iterable<?> args)
      Sets the full command line, including the executable to be executed plus its arguments.
      Parameter:
      args - the command plus the args to be executed
      Gibt zurück:
      this
    • args

      ExecSpec args(Object... args)
      Adds arguments for the command to be executed.
      Parameter:
      args - args for the command
      Gibt zurück:
      this
    • args

      ExecSpec args(Iterable<?> args)
      Adds arguments for the command to be executed.
      Parameter:
      args - args for the command
      Gibt zurück:
      this
    • setArgs

      ExecSpec setArgs(List<String> args)
      Sets the arguments for the command to be executed.
      Parameter:
      args - args for the command
      Gibt zurück:
      this
      Seit:
      4.0
    • setArgs

      ExecSpec setArgs(Iterable<?> args)
      Sets the arguments for the command to be executed.
      Parameter:
      args - args for the command
      Gibt zurück:
      this
    • getArgs

      List<String> getArgs()
      Returns the arguments for the command to be executed. Defaults to an empty list.
    • getArgumentProviders

      List<CommandLineArgumentProvider> getArgumentProviders()
      Argument providers for the application.
      Seit:
      4.6