Class CAShellOptions

java.lang.Object
com.io7m.cardant.shell.internal.CAShellOptions
All Implemented Interfaces:
com.io7m.repetoir.core.RPServiceType

public final class CAShellOptions extends Object implements com.io7m.repetoir.core.RPServiceType
Shell options.
  • Constructor Details

    • CAShellOptions

      public CAShellOptions(org.jline.terminal.Terminal inTerminal)
      Shell options.
      Parameters:
      inTerminal - The terminal
  • Method Details

    • terminateOnErrors

      public AtomicBoolean terminateOnErrors()
      Returns:
      A flag indicating if the shell should exit on errors
    • setFormatter

      public void setFormatter(CAFormatterType inFormatter)
      Set the formatter.
      Parameters:
      inFormatter - The formatter
    • formatter

      public CAFormatterType formatter()
      Returns:
      The shell formatter
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • description

      public String description()
      Specified by:
      description in interface com.io7m.repetoir.core.RPServiceType