Interface ShellRunner

All Known Implementing Classes:
InteractiveShellRunner, NonInteractiveShellRunner, ScriptShellRunner

public interface ShellRunner
Interface for shell runners.
Author:
Janne Valkealahti, Mahmoud Ben Hassine
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    run(String[] args)
    Execute ShellRunner with given args.
  • Method Details

    • run

      default boolean run(String[] args) throws Exception
      Execute ShellRunner with given args. Return value indicates if run operation happened and no further runners should be used.
      Parameters:
      args - the raw arguments
      Returns:
      true if run execution happened
      Throws:
      Exception - possible error during run