Class AbstractCommand

java.lang.Object
org.keycloak.quarkus.runtime.cli.command.AbstractCommand
Direct Known Subclasses:
AbstractStartCommand, Build, ShowConfig

public abstract class AbstractCommand extends Object
  • Field Details

    • spec

      protected picocli.CommandLine.Model.CommandSpec spec
  • Constructor Details

    • AbstractCommand

      public AbstractCommand()
  • Method Details

    • executionError

      protected void executionError(picocli.CommandLine cmd, String message)
    • executionError

      protected void executionError(picocli.CommandLine cmd, String message, Throwable cause)
    • includeRuntime

      public boolean includeRuntime()
      Returns true if this command should include runtime options for the CLI.
    • includeBuildTime

      public boolean includeBuildTime()
      Returns true if this command should include build time options for the CLI.
    • getOptionCategories

      public List<OptionCategory> getOptionCategories()
      Returns a list of all option categories which are available for this command.
    • validateConfig

      protected void validateConfig()
    • getName

      public abstract String getName()
    • getCommandLine

      public picocli.CommandLine getCommandLine()