Class I18nCommand

java.lang.Object
nz.org.riskscape.engine.cli.I18nCommand
All Implemented Interfaces:
AutoCloseable, nz.org.riskscape.engine.cli.ChildCommand, nz.org.riskscape.engine.cli.EngineCommand, nz.org.riskscape.engine.cli.TerminalCommand

public class I18nCommand extends Object implements nz.org.riskscape.engine.cli.ChildCommand, nz.org.riskscape.engine.cli.EngineCommand, nz.org.riskscape.engine.cli.TerminalCommand
  • Field Details

    • ESCAPE_IN_VALUE

      public static final List<Character> ESCAPE_IN_VALUE
    • ESCAPE_IN_KEY

      public static final List<Character> ESCAPE_IN_KEY
  • Constructor Details

    • I18nCommand

      public I18nCommand()
  • Method Details

    • run

      public Object run()
      Specified by:
      run in interface nz.org.riskscape.engine.cli.ChildCommand
    • getEngine

      public nz.org.riskscape.engine.Engine getEngine()
      Specified by:
      getEngine in interface nz.org.riskscape.engine.cli.EngineCommand
    • setEngine

      public void setEngine(nz.org.riskscape.engine.Engine engine)
      Specified by:
      setEngine in interface nz.org.riskscape.engine.cli.EngineCommand
    • getTerminal

      public nz.org.riskscape.cli.Terminal getTerminal()
      Specified by:
      getTerminal in interface nz.org.riskscape.engine.cli.TerminalCommand
    • setTerminal

      public void setTerminal(nz.org.riskscape.cli.Terminal terminal)
      Specified by:
      setTerminal in interface nz.org.riskscape.engine.cli.TerminalCommand
    • getMessages

      public nz.org.riskscape.engine.i18n.Messages getMessages()
      Specified by:
      getMessages in interface nz.org.riskscape.engine.cli.TerminalCommand
    • setMessages

      public void setMessages(nz.org.riskscape.engine.i18n.Messages messages)
      Specified by:
      setMessages in interface nz.org.riskscape.engine.cli.TerminalCommand