Class BaseCommand<T>
java.lang.Object
org.junit.platform.console.command.BaseCommand<T>
- All Implemented Interfaces:
Callable<T>
- Direct Known Subclasses:
DiscoverTestsCommand, ExecuteTestsCommand, ListTestEnginesCommand
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) AnsiColorOptionMixin(package private) BannerOptionMixin(package private) picocli.CommandLine.Model.CommandSpecprivate booleanprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Tcall()private voiddisplayBanner(PrintWriter out) protected abstract Texecute(PrintWriter out) (package private) voidprotected final picocli.CommandLine.Help.ColorSchemeprivate PrintWritergetOut()(package private) static picocli.CommandLineinitialize(picocli.CommandLine commandLine) (package private) voidprivate picocli.CommandLine
-
Field Details
-
commandSpec
picocli.CommandLine.Model.CommandSpec commandSpec -
ansiColorOption
AnsiColorOptionMixin ansiColorOption -
bannerOption
BannerOptionMixin bannerOption -
helpRequested
private boolean helpRequested -
versionHelpRequested
private boolean versionHelpRequested
-
-
Constructor Details
-
BaseCommand
BaseCommand()
-
-
Method Details
-
execute
-
parseArgs
-
toCommandLine
private picocli.CommandLine toCommandLine() -
initialize
static picocli.CommandLine initialize(picocli.CommandLine commandLine) -
call
-
getOut
-
displayBanner
-
getColorScheme
protected final picocli.CommandLine.Help.ColorScheme getColorScheme() -
execute
-