Package nz.org.riskscape.engine.cli
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 Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnz.org.riskscape.engine.Engine
nz.org.riskscape.engine.i18n.Messages
nz.org.riskscape.cli.Terminal
run()
void
setEngine
(nz.org.riskscape.engine.Engine engine) void
setMessages
(nz.org.riskscape.engine.i18n.Messages messages) void
setTerminal
(nz.org.riskscape.cli.Terminal terminal) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface nz.org.riskscape.engine.cli.EngineCommand
close
Methods inherited from interface nz.org.riskscape.engine.cli.TerminalCommand
print, printerr, stderr, stdin, stdout
-
Field Details
-
ESCAPE_IN_VALUE
-
ESCAPE_IN_KEY
-
-
Constructor Details
-
I18nCommand
public I18nCommand()
-
-
Method Details
-
run
- Specified by:
run
in interfacenz.org.riskscape.engine.cli.ChildCommand
-
getEngine
public nz.org.riskscape.engine.Engine getEngine()- Specified by:
getEngine
in interfacenz.org.riskscape.engine.cli.EngineCommand
-
setEngine
public void setEngine(nz.org.riskscape.engine.Engine engine) - Specified by:
setEngine
in interfacenz.org.riskscape.engine.cli.EngineCommand
-
getTerminal
public nz.org.riskscape.cli.Terminal getTerminal()- Specified by:
getTerminal
in interfacenz.org.riskscape.engine.cli.TerminalCommand
-
setTerminal
public void setTerminal(nz.org.riskscape.cli.Terminal terminal) - Specified by:
setTerminal
in interfacenz.org.riskscape.engine.cli.TerminalCommand
-
getMessages
public nz.org.riskscape.engine.i18n.Messages getMessages()- Specified by:
getMessages
in interfacenz.org.riskscape.engine.cli.TerminalCommand
-
setMessages
public void setMessages(nz.org.riskscape.engine.i18n.Messages messages) - Specified by:
setMessages
in interfacenz.org.riskscape.engine.cli.TerminalCommand
-