Class BaseCommand<T>
- java.lang.Object
-
- org.junit.platform.console.command.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) AnsiColorOptionMixinansiColorOption(package private) BannerOptionMixinbannerOption(package private) picocli.CommandLine.Model.CommandSpeccommandSpecprivate booleanhelpRequestedprivate booleanversionHelpRequested
-
Constructor Summary
Constructors Constructor Description BaseCommand()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Tcall()private voiddisplayBanner(java.io.PrintWriter out)protected abstract Texecute(java.io.PrintWriter out)(package private) voidexecute(java.lang.String... args)protected picocli.CommandLine.Help.ColorSchemegetColorScheme()private java.io.PrintWritergetOut()(package private) static picocli.CommandLineinitialize(picocli.CommandLine commandLine)(package private) voidparseArgs(java.lang.String... args)private picocli.CommandLinetoCommandLine()
-
-
-
Field Detail
-
commandSpec
picocli.CommandLine.Model.CommandSpec commandSpec
-
ansiColorOption
AnsiColorOptionMixin ansiColorOption
-
bannerOption
BannerOptionMixin bannerOption
-
helpRequested
private boolean helpRequested
-
versionHelpRequested
private boolean versionHelpRequested
-
-
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)
-
-