Package edu.uiuc.ncsa.qdl.sas
Class QDLExe
- java.lang.Object
-
- edu.uiuc.ncsa.qdl.sas.QDLExe
-
- All Implemented Interfaces:
QDLSASConstants
,edu.uiuc.ncsa.sas.Executable
,edu.uiuc.ncsa.sas.SASConstants
public class QDLExe extends Object implements edu.uiuc.ncsa.sas.Executable, QDLSASConstants
This wraps the QDL workspace and turns it into a SAS executable. All QDL commands are run here.Adding more actions
To add an action,
- extend an
Action
and aResponse
- Override the
WorkspaceCommands
action you want (e.g.QDLSASWorkspaceCommands.editVariable(List, List, String, boolean, boolean)
to return the response you made - Add the action to the main event loop in
execute(Action)
- Finally, implement creating the action in the correct component.
Created by Jeff Gaynor
on 8/24/22 at 12:01 PM
-
-
Field Summary
-
Fields inherited from interface edu.uiuc.ncsa.qdl.sas.QDLSASConstants
ACTION_BUFFER_SAVE, ACTION_GET_HELP_TOPIC, ACTION_LIST_FUNCTIONS, KEY_EDIT_ALIAS, KEY_EDIT_ARG_STATE, KEY_EDIT_OBJECT_TYPE, KEY_EDIT_OBJECT_TYPE_BUFFER, KEY_EDIT_OBJECT_TYPE_FILE, KEY_EDIT_OBJECT_TYPE_FUNCTION, KEY_EDIT_OBJECT_TYPE_VARIABLE, KEY_FUNCTION_HELP, KEY_FUNCTION_LIST, KEY_HELP_EXAMPLE, RESPONSE_BUFFER_SAVE, RESPONSE_TYPE_EDIT, RESPONSE_TYPE_GET_HELP_TOPIC, RESPONSE_TYPE_LIST_FUNCTIONS
-
Fields inherited from interface edu.uiuc.ncsa.sas.SASConstants
ACTION_EXECUTE, ACTION_INVOKE, ACTION_LOGOFF, ACTION_LOGON, ACTION_NEW_KEY, CLIENT_ID_HEAD, HEADER_SESSION_ID, KEYS_ACTION, KEYS_ARGUMENT, KEYS_COMMENT, KEYS_EXECUTABLE_NAME, KEYS_INTERNAL_ID, KEYS_METHOD, KEYS_PROMPT, KEYS_SAS, KEYS_STATE, KEYS_SUBJECT, KEYS_SUBJECT_ID, KEYS_SUBJECT_SESSION_ID, KEYS_TYPE, REQUEST_TYPE, RESPONSE_CONTENT, RESPONSE_MESSAGE, RESPONSE_PROMPT, RESPONSE_SESSION_ID, RESPONSE_STATUS, RESPONSE_STATUS_ERROR, RESPONSE_STATUS_OK, RESPONSE_SYMMETRIC_KEY, RESPONSE_TYPE, RESPONSE_TYPE_ERROR, RESPONSE_TYPE_LOGOFF, RESPONSE_TYPE_LOGON, RESPONSE_TYPE_NEW_KEY, RESPONSE_TYPE_OUTPUT, RESPONSE_TYPE_PROMPT
-
-
Constructor Summary
Constructors Constructor Description QDLExe()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected edu.uiuc.ncsa.sas.thing.response.Response
bufferSave(BufferSaveAction bsa)
State
createState()
edu.uiuc.ncsa.sas.thing.response.Response
execute(edu.uiuc.ncsa.sas.thing.action.Action action)
edu.uiuc.ncsa.security.util.cli.IOInterface
getIO()
protected void
init()
void
setIO(edu.uiuc.ncsa.security.util.cli.IOInterface io)
-
-
-
Method Detail
-
createState
public State createState()
-
init
protected void init()
-
execute
public edu.uiuc.ncsa.sas.thing.response.Response execute(edu.uiuc.ncsa.sas.thing.action.Action action)
- Specified by:
execute
in interfaceedu.uiuc.ncsa.sas.Executable
-
bufferSave
protected edu.uiuc.ncsa.sas.thing.response.Response bufferSave(BufferSaveAction bsa) throws Throwable
- Throws:
Throwable
-
getIO
public edu.uiuc.ncsa.security.util.cli.IOInterface getIO()
- Specified by:
getIO
in interfaceedu.uiuc.ncsa.sas.Executable
-
setIO
public void setIO(edu.uiuc.ncsa.security.util.cli.IOInterface io)
- Specified by:
setIO
in interfaceedu.uiuc.ncsa.sas.Executable
-
-