Class DiagnosticsCommandSupport
java.lang.Object
dev.ua.theroer.magicutils.diagnostics.DiagnosticsCommandSupport
Reusable diagnostics subcommand helper.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <S> SubCommandSpec<S> createDiagnosticsExportSubCommand(LoggerCore logger, Supplier<DiagnosticsService> serviceSupplier) static <S> SubCommandSpec<S> createDiagnosticsExportSubCommand(String rootSubCommandName, LoggerCore logger, Supplier<DiagnosticsService> serviceSupplier) static <S> SubCommandSpec<S> createDiagnosticsSubCommand(LoggerCore logger, Supplier<DiagnosticsService> serviceSupplier) static <S> SubCommandSpec<S> createDiagnosticsSubCommand(String subCommandName, LoggerCore logger, Supplier<DiagnosticsService> serviceSupplier) static <S> List<SubCommandSpec<S>> createDiagnosticsSubCommands(LoggerCore logger, Supplier<DiagnosticsService> serviceSupplier) static <S> List<SubCommandSpec<S>> createDiagnosticsSubCommands(String subCommandName, LoggerCore logger, Supplier<DiagnosticsService> serviceSupplier) static <S> SubCommandSpec<S> createDiagnosticsSuiteSubCommand(LoggerCore logger, Supplier<DiagnosticsService> serviceSupplier) static <S> SubCommandSpec<S> createDiagnosticsSuiteSubCommand(String rootSubCommandName, LoggerCore logger, Supplier<DiagnosticsService> serviceSupplier) static voidregisterTypeParsers(CommandManager<?> commandManager) static voidregisterTypeParsers(TypeParserRegistry<?> registry) renderReport(DiagnosticReport report)
-
Method Details
-
registerTypeParsers
-
registerTypeParsers
-
createDiagnosticsSubCommand
public static <S> SubCommandSpec<S> createDiagnosticsSubCommand(LoggerCore logger, Supplier<DiagnosticsService> serviceSupplier) -
createDiagnosticsSubCommand
public static <S> SubCommandSpec<S> createDiagnosticsSubCommand(String subCommandName, LoggerCore logger, Supplier<DiagnosticsService> serviceSupplier) -
createDiagnosticsSubCommands
public static <S> List<SubCommandSpec<S>> createDiagnosticsSubCommands(LoggerCore logger, Supplier<DiagnosticsService> serviceSupplier) -
createDiagnosticsSubCommands
public static <S> List<SubCommandSpec<S>> createDiagnosticsSubCommands(String subCommandName, LoggerCore logger, Supplier<DiagnosticsService> serviceSupplier) -
createDiagnosticsExportSubCommand
public static <S> SubCommandSpec<S> createDiagnosticsExportSubCommand(LoggerCore logger, Supplier<DiagnosticsService> serviceSupplier) -
createDiagnosticsExportSubCommand
public static <S> SubCommandSpec<S> createDiagnosticsExportSubCommand(String rootSubCommandName, LoggerCore logger, Supplier<DiagnosticsService> serviceSupplier) -
createDiagnosticsSuiteSubCommand
public static <S> SubCommandSpec<S> createDiagnosticsSuiteSubCommand(LoggerCore logger, Supplier<DiagnosticsService> serviceSupplier) -
createDiagnosticsSuiteSubCommand
public static <S> SubCommandSpec<S> createDiagnosticsSuiteSubCommand(String rootSubCommandName, LoggerCore logger, Supplier<DiagnosticsService> serviceSupplier) -
renderReport
-