Package edu.uiuc.ncsa.sas.cli
Class SASCLIDriver
- java.lang.Object
-
- edu.uiuc.ncsa.security.util.cli.CLIDriver
-
- edu.uiuc.ncsa.sas.cli.SASCLIDriver
-
- All Implemented Interfaces:
Executable
public class SASCLIDriver extends CLIDriver implements Executable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSASCLIDriver.DC
-
Field Summary
-
Fields inherited from class edu.uiuc.ncsa.security.util.cli.CLIDriver
ABNORMAL_RC, CLEAR_BUFFER_COMMAND, COMPONENT_COMMAND, DUMMY_FUNCTION, ECHO_COMMAND, ENVIRONMENT_FLAG, EXIT_COMMAND, HELP_RC, HELP_SWITCH, HISTORY_LIST_COMMAND, INPUT_FILE_FLAG, lineCommentStart, LIST_ALL_METHODS_COMMAND, LOAD_BUFFER_COMMAND, LOG_FLAG, LOGICAL_FALSES, LOGICAL_TRUES, LONG_SET_OUTPUT_FLAG, LONG_VERBOSE_FLAG, OK_RC, ONLINE_HELP_COMMAND, OUTPUT_FILE_FLAG, PRINT_HELP_COMMAND, REPEAT_LAST_COMMAND, RUN_COMMAND_FLAG, SHORT_EXIT_COMMAND, SHORT_SET_OUTPUT_FLAG, SHORT_VERBOSE_FLAG, SHUTDOWN_RC, SILENT_FLAG, TERMINAL_TYPE_ANSI, TERMINAL_TYPE_ASCII, TERMINAL_TYPE_FLAG, TERMINAL_TYPE_TEXT, TRACE_COMMAND, USER_EXIT_RC, WRITE_BUFFER_COMMAND
-
-
Constructor Summary
Constructors Constructor Description SASCLIDriver(Commands... cci)SASCLIDriver(IOInterface ioInterface)SASCLIDriver(IOInterface ioInterface, Client sasClient)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Responseexecute(Action action)IOInterfacegetIO()protected voidinit()static voidmain(String[] args)voidsetIO(IOInterface io)-
Methods inherited from class edu.uiuc.ncsa.security.util.cli.CLIDriver
addCommands, batchFileHelp, bootstrap, bootstrap, doBufferRead, doBufferWrite, doHelp, doHistory, doRepeatCommand, execute, execute, getCLICommands, getCLIDriver, getCommandHistory, getComponentManager, getCurrentEnvFile, getEnv, getHelpUtil, getIOInterface, getLineCommentStart, getLogger, getOutputFile, getRunLine, hasCLIDriver, hasComments, hasEnv, hasInputFile, hasOutputFile, isOutputOn, isRunLineMode, isTraceOn, isTrue, isVerbose, listCLIMethods, NEWstart, noPrompt, printHelp, printHelpTopics, processLine, processRunLine, quit, readEnv, readline, say, sayv, setCLICommands, setCLIDriver, setCommandHistory, setComponentManager, setCurrentEnvFile, setEnv, setHasInputFile, setHelpUtil, setIOInterface, setLineCommentStart, setLogger, setOutputFile, setOutputOn, setRunLine, setRunLineMode, setTraceOn, setVerbose, shutdown, start
-
-
-
-
Constructor Detail
-
SASCLIDriver
public SASCLIDriver(IOInterface ioInterface, Client sasClient) throws Exception
- Throws:
Exception
-
SASCLIDriver
public SASCLIDriver(IOInterface ioInterface) throws Exception
- Throws:
Exception
-
SASCLIDriver
public SASCLIDriver(Commands... cci)
-
-
Method Detail
-
execute
public Response execute(Action action)
- Specified by:
executein interfaceExecutable
-
getIO
public IOInterface getIO()
- Specified by:
getIOin interfaceExecutable
-
setIO
public void setIO(IOInterface io)
- Specified by:
setIOin interfaceExecutable
-
init
protected void init()
-
main
public static void main(String[] args)
-
-