Package edu.uiuc.ncsa.sas.cli
Class SASCLIDriver.DC
- java.lang.Object
-
- edu.uiuc.ncsa.sas.cli.SASCLIDriver.DC
-
- All Implemented Interfaces:
Logable,Commands,Serializable
- Enclosing class:
- SASCLIDriver
public static class SASCLIDriver.DC extends Object implements Commands
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DC()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputLinebootstrap(InputLine inputLine)voiddebug(String x)Write a debug message to the log.voiderror(String x)Write an error message to the log.CLIDrivergetDriver()Back reference to the driver that manages this instance.IOInterfacegetIOInterface()StringgetName()StringgetPrompt()The prompt displayed to the user.voidinfo(String x)Write an informational message to the logbooleanisDebugOn()Query if debugging is enabled for this logger.voidsetDebugOn(boolean setOn)Enable/disable debugging for this loggervoidsetDriver(CLIDriver driver)voidwarn(String x)Write a warning to the log.
-
-
-
Method Detail
-
getPrompt
public String getPrompt()
Description copied from interface:CommandsThe prompt displayed to the user. This allows it to change based on context.
-
getDriver
public CLIDriver getDriver()
Description copied from interface:CommandsBack reference to the driver that manages this instance.
-
getIOInterface
public IOInterface getIOInterface()
- Specified by:
getIOInterfacein interfaceCommands
-
isDebugOn
public boolean isDebugOn()
Description copied from interface:LogableQuery if debugging is enabled for this logger.
-
setDebugOn
public void setDebugOn(boolean setOn)
Description copied from interface:LogableEnable/disable debugging for this logger- Specified by:
setDebugOnin interfaceLogable
-
debug
public void debug(String x)
Description copied from interface:LogableWrite a debug message to the log.
-
info
public void info(String x)
Description copied from interface:LogableWrite an informational message to the log
-
warn
public void warn(String x)
Description copied from interface:LogableWrite a warning to the log. This indicates a severe, but non-fatal condition exists.
-
-