Class BaseCommand<T>
- java.lang.Object
-
- org.junit.platform.console.options.BaseCommand<T>
-
- All Implemented Interfaces:
java.util.concurrent.Callable<T>
- Direct Known Subclasses:
DiscoverTestsCommand
,ExecuteTestsCommand
,ListTestEnginesCommand
abstract class BaseCommand<T> extends java.lang.Object implements java.util.concurrent.Callable<T>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) picocli.CommandLine.Model.CommandSpec
commandSpec
private boolean
helpRequested
(package private) OutputOptionsMixin
outputOptions
-
Constructor Summary
Constructors Constructor Description BaseCommand()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
call()
private void
displayBanner(java.io.PrintWriter out)
protected abstract T
execute(java.io.PrintWriter out)
(package private) void
execute(java.lang.String... args)
protected picocli.CommandLine.Help.ColorScheme
getColorScheme()
private java.io.PrintWriter
getOut()
(package private) static picocli.CommandLine
initialize(picocli.CommandLine commandLine)
(package private) void
parseArgs(java.lang.String... args)
private picocli.CommandLine
toCommandLine()
-
-
-
Field Detail
-
commandSpec
picocli.CommandLine.Model.CommandSpec commandSpec
-
outputOptions
OutputOptionsMixin outputOptions
-
helpRequested
private boolean helpRequested
-
-
Method Detail
-
execute
void execute(java.lang.String... args)
-
parseArgs
void parseArgs(java.lang.String... args)
-
toCommandLine
private picocli.CommandLine toCommandLine()
-
initialize
static picocli.CommandLine initialize(picocli.CommandLine commandLine)
-
getOut
private java.io.PrintWriter getOut()
-
displayBanner
private void displayBanner(java.io.PrintWriter out)
-
getColorScheme
protected final picocli.CommandLine.Help.ColorScheme getColorScheme()
-
execute
protected abstract T execute(java.io.PrintWriter out)
-
-