Package com.io7m.cardant.shell.internal

# 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 Summary

  Constructors
  Constructor
  Description
  `CAShellOptions(org.jline.terminal.Terminal inTerminal)`
  Shell options.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `description()`
  `CAFormatterType`
  `formatter()`
  `void`
  `setFormatter(CAFormatterType inFormatter)`
  Set the formatter.
  `AtomicBoolean`
  `terminateOnErrors()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## 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`