Package edu.uiuc.ncsa.qdl.workspace
Class QDLWorkspace
- java.lang.Object
-
- edu.uiuc.ncsa.qdl.workspace.QDLWorkspace
-
- All Implemented Interfaces:
Serializable
public class QDLWorkspace extends Object implements Serializable
This has the machinery for getting lines of input from the user and then feeding them to the parser. It will also hand off workspace commands as needed.Created by Jeff Gaynor
on 1/11/20 at 4:21 PM- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
HISTORY_CLEAR_SWITCH
static String
HISTORY_REVERSE_SWITCH
static String
HISTORY_SAVE_SWITCH
static String
HISTORY_SIZE_SWITCH
static String
HISTORY_TRUNCATE_SWITCH
static String
MACRO_COMMENT_DELIMITER
static String
SHORT_HISTORY_REVERSE_SWITCH
-
Constructor Summary
Constructors Constructor Description QDLWorkspace(WorkspaceCommands workspaceCommands)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
doHistory(String cmdLine)
protected String
doRepeatCommand(String cmdLine)
Object
execute(String input)
protected String
getErrorCoordinates(QDLExceptionWithTrace qq)
protected edu.uiuc.ncsa.security.core.util.MyLoggingFacade
getLogger()
protected void
handleException(Throwable t)
protected static void
init(String[] args)
static void
main(String[] args)
void
mainLoop()
Execute main event loop.void
runMacro(List<String> commands)
-
-
-
Field Detail
-
HISTORY_CLEAR_SWITCH
public static String HISTORY_CLEAR_SWITCH
-
HISTORY_TRUNCATE_SWITCH
public static String HISTORY_TRUNCATE_SWITCH
-
HISTORY_SAVE_SWITCH
public static String HISTORY_SAVE_SWITCH
-
HISTORY_SIZE_SWITCH
public static String HISTORY_SIZE_SWITCH
-
HISTORY_REVERSE_SWITCH
public static String HISTORY_REVERSE_SWITCH
-
SHORT_HISTORY_REVERSE_SWITCH
public static String SHORT_HISTORY_REVERSE_SWITCH
-
MACRO_COMMENT_DELIMITER
public static final String MACRO_COMMENT_DELIMITER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
QDLWorkspace
public QDLWorkspace(WorkspaceCommands workspaceCommands)
-
-
Method Detail
-
getLogger
protected edu.uiuc.ncsa.security.core.util.MyLoggingFacade getLogger()
-
handleException
protected void handleException(Throwable t)
-
getErrorCoordinates
protected String getErrorCoordinates(QDLExceptionWithTrace qq)
-
-