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 void
bootstrap()
void
debug(String x)
Write a debug message to the log.void
error(String x)
Write an error message to the log.HelpUtil
getHelpUtil()
IOInterface
getIOInterface()
String
getName()
String
getPrompt()
The prompt displayed to the user.void
info(String x)
Write an informational message to the logboolean
isDebugOn()
Query if debugging is enabled for this logger.void
print_help()
void
setDebugOn(boolean setOn)
Enable/disable debugging for this loggervoid
setIOInterface(IOInterface io)
void
warn(String x)
Write a warning to the log.
-
-
-
Method Detail
-
getPrompt
public String getPrompt()
Description copied from interface:Commands
The prompt displayed to the user. This allows it to change based on context.
-
print_help
public void print_help() throws Exception
- Specified by:
print_help
in interfaceCommands
- Throws:
Exception
-
bootstrap
public void bootstrap() throws Throwable
-
getHelpUtil
public HelpUtil getHelpUtil()
- Specified by:
getHelpUtil
in interfaceCommands
-
getIOInterface
public IOInterface getIOInterface()
- Specified by:
getIOInterface
in interfaceCommands
-
setIOInterface
public void setIOInterface(IOInterface io)
- Specified by:
setIOInterface
in interfaceCommands
-
isDebugOn
public boolean isDebugOn()
Description copied from interface:Logable
Query if debugging is enabled for this logger.
-
setDebugOn
public void setDebugOn(boolean setOn)
Description copied from interface:Logable
Enable/disable debugging for this logger- Specified by:
setDebugOn
in interfaceLogable
-
debug
public void debug(String x)
Description copied from interface:Logable
Write a debug message to the log.
-
info
public void info(String x)
Description copied from interface:Logable
Write an informational message to the log
-
warn
public void warn(String x)
Description copied from interface:Logable
Write a warning to the log. This indicates a severe, but non-fatal condition exists.
-
-