Class IdAShellOptions
java.lang.Object
com.io7m.idstore.shell.admin.internal.IdAShellOptions
- All Implemented Interfaces:
com.io7m.repetoir.core.RPServiceType
Shell options.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Set the command timeout.void
setFormatter
(IdAFormatterType inFormatter) Set the formatter.void
Set the login timeout.toString()
-
Constructor Details
-
IdAShellOptions
public IdAShellOptions(org.jline.terminal.Terminal inTerminal) Shell options.- Parameters:
inTerminal
- The terminal
-
-
Method Details
-
loginTimeout
- Returns:
- The login timeout
-
commandTimeout
- Returns:
- The command timeout
-
terminateOnErrors
- Returns:
- A flag indicating if the shell should exit on errors
-
setFormatter
Set the formatter.- Parameters:
inFormatter
- The formatter
-
formatter
- Returns:
- The shell formatter
-
toString
-
description
- Specified by:
description
in interfacecom.io7m.repetoir.core.RPServiceType
-
setLoginTimeout
Set the login timeout.- Parameters:
t
- The timeout
-
setCommandTimeout
Set the command timeout.- Parameters:
t
- The timeout
-