Interface ShellRunner

All Known Implementing Classes:
InteractiveShellRunner, NonInteractiveShellRunner, ScriptShellRunner

public interface ShellRunner
Interface for shell runners.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canRun(org.springframework.boot.ApplicationArguments args)
    Checks if a particular shell runner can execute.
    void
    run(org.springframework.boot.ApplicationArguments args)
    Execute application.
  • Method Details

    • canRun

      boolean canRun(org.springframework.boot.ApplicationArguments args)
      Checks if a particular shell runner can execute.
      Parameters:
      args - the application arguments
      Returns:
      true if shell runner can execute
    • run

      void run(org.springframework.boot.ApplicationArguments args) throws Exception
      Execute application.
      Parameters:
      args - the application argumets
      Throws:
      Exception - in errors