Class BaseCommand<T>

java.lang.Object
org.junit.platform.console.options.BaseCommand<T>
All Implemented Interfaces:
Callable<T>
Direct Known Subclasses:
DiscoverTestsCommand, ExecuteTestsCommand, ListTestEnginesCommand

abstract class BaseCommand<T> extends Object implements Callable<T>
  • Field Details

    • commandSpec

      picocli.CommandLine.Model.CommandSpec commandSpec
    • outputOptions

      OutputOptionsMixin outputOptions
    • helpRequested

      private boolean helpRequested
  • Constructor Details

    • BaseCommand

      BaseCommand()
  • Method Details

    • execute

      void execute(String... args)
    • parseArgs

      void parseArgs(String... args)
    • toCommandLine

      private picocli.CommandLine toCommandLine()
    • initialize

      static picocli.CommandLine initialize(picocli.CommandLine commandLine)
    • call

      public final T call()
      Specified by:
      call in interface Callable<T>
    • getOut

      private PrintWriter getOut()
    • displayBanner

      private void displayBanner(PrintWriter out)
    • getColorScheme

      protected final picocli.CommandLine.Help.ColorScheme getColorScheme()
    • execute

      protected abstract T execute(PrintWriter out)