Package org.qdl_lang.config
Class QDLEnvironment
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.util.AbstractEnvironment
-
- org.qdl_lang.config.QDLEnvironment
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.Logable
,Serializable
,QDLConfigurationConstants
public class QDLEnvironment extends edu.uiuc.ncsa.security.core.util.AbstractEnvironment implements QDLConfigurationConstants, Serializable
Created by Jeff Gaynor
on 2/27/20 at 9:11 AM- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description boolean
compressionOn
-
Fields inherited from interface org.qdl_lang.config.QDLConfigurationConstants
BOOT_SCRIPT_TAG, CONFG_ATTR_ASSERTIONS_ENABLED, CONFG_ATTR_DEBUG, CONFG_ATTR_ENABLED, CONFG_ATTR_NAME, CONFG_ATTR_NUMERIC_DIGITS, CONFG_ATTR_OVERWRITE_BASE_FUNCTIONS_ENABLED, CONFG_ATTR_RESTRICTED_IO_RESTRICTED, CONFG_ATTR_SERVER_MODE_ENABLED, CONFIG_FILE_FLAG, CONFIG_NAME_FLAG, CONFIG_TAG_NAME, ENABLE_LIBRARY_SUPPORT, LIB_PATH_TAG, MODULE_ATTR_ASSIGN_VARIABLE, MODULE_ATTR_IMPORT_ON_START, MODULE_ATTR_LIB_LOADER, MODULE_ATTR_TYPE, MODULE_ATTR_USE_MODULE, MODULE_ATTR_VERSION, MODULE_ATTR_VERSION_1_0, MODULE_ATTR_VERSION_2_0, MODULE_CLASS_NAME_TAG, MODULE_FAIL_ON_ERRORS, MODULE_PATH_TAG, MODULE_TAG_NAME, MODULE_TYPE_JAVA, MODULE_TYPE_QDL, MODULES_TAG_NAME, QDL_MODULE_PATH_TAG, RUN_INIT_ON_LOAD, SCRIPT_PATH_TAG, VFS_ATTR_ACCESS, VFS_ATTR_TYPE, VFS_MOUNT_POINT_TAG, VFS_ROOT_DIR_TAG, VFS_SCHEME_TAG, VFS_TAG_NAME, VFS_TYPE_MEMORY, VFS_TYPE_MYSQL, VFS_TYPE_PASS_THROUGH, VFS_TYPE_ZIP, VFS_ZIP_FILE_PATH, VIRTUAL_FILE_SYSTEMS_TAG_NAME, WS_ATTR_ANSI_MODE_ON, WS_ATTR_ASSERTIONS_ON, WS_ATTR_AUTOSAVE_INTERVAL, WS_ATTR_AUTOSAVE_MESSAGES_ON, WS_ATTR_AUTOSAVE_ON, WS_ATTR_ECHO_MODE_ON, WS_ATTR_FONT_NAME, WS_ATTR_FONT_SIZE, WS_ATTR_FONT_TYPE, WS_ATTR_logo, WS_ATTR_PRETTY_PRINT, WS_ATTR_SHOW_BANNER, WS_ATTR_TERMINAL_TYPE, WS_ATTR_TERMINAL_TYPE2, WS_ATTR_VERBOSE, WS_COMPRESS_SERIALIZATION_TAG, WS_EDITOR_ENABLE, WS_EDITOR_NAME, WS_ENV, WS_FONT_TAG, WS_HOME_DIR_TAG, WS_SAVE_DIR, WS_TAG, WS_TERMINAL_TYPE_ANSI, WS_TERMINAL_TYPE_SWING, WS_TERMINAL_TYPE_TEXT
-
-
Constructor Summary
Constructors Constructor Description QDLEnvironment()
A convenience constructor to make an instance of this that is disabled.QDLEnvironment(edu.uiuc.ncsa.security.core.util.MyLoggingFacade myLogger, String cfgFile, String name, boolean isEnabled, boolean isServerModeOn, boolean isRestrictedIO, int numericDigits, String bootScript, String wsHomeDir, String wsEnv, boolean echoModeOn, boolean prettyPrint, boolean verboseOn, boolean compressionOn, boolean showBanner, List<VFSConfig> vfsConfigs, List<ModuleConfig> moduleConfigs, String scriptPath, String modulePath, String libPath, String debugLevel, boolean autosaveOn, long autosaveInterval, boolean autosaveMessagesOn, boolean useExternalEditor, String externalEditorPath, edu.uiuc.ncsa.security.util.cli.editing.Editors qdlEditors, boolean enableLibrarySupport, boolean assertionsOn, String saveDir, boolean allowOverwriteBaseFunctions, LibLoader libLoader, boolean ansiModeOn, String logo, String terminalType, Font font)
-
Method Summary
-
-
-
Constructor Detail
-
QDLEnvironment
public QDLEnvironment()
A convenience constructor to make an instance of this that is disabled. Nothing else is initialized.
-
QDLEnvironment
public QDLEnvironment(edu.uiuc.ncsa.security.core.util.MyLoggingFacade myLogger, String cfgFile, String name, boolean isEnabled, boolean isServerModeOn, boolean isRestrictedIO, int numericDigits, String bootScript, String wsHomeDir, String wsEnv, boolean echoModeOn, boolean prettyPrint, boolean verboseOn, boolean compressionOn, boolean showBanner, List<VFSConfig> vfsConfigs, List<ModuleConfig> moduleConfigs, String scriptPath, String modulePath, String libPath, String debugLevel, boolean autosaveOn, long autosaveInterval, boolean autosaveMessagesOn, boolean useExternalEditor, String externalEditorPath, edu.uiuc.ncsa.security.util.cli.editing.Editors qdlEditors, boolean enableLibrarySupport, boolean assertionsOn, String saveDir, boolean allowOverwriteBaseFunctions, LibLoader libLoader, boolean ansiModeOn, String logo, String terminalType, Font font)
-
-
Method Detail
-
getTerminalType
public String getTerminalType()
-
setTerminalType
public void setTerminalType(String terminalType)
-
getLogoName
public String getLogoName()
-
isAnsiModeOn
public boolean isAnsiModeOn()
-
isAllowOverwriteBaseFunctions
public boolean isAllowOverwriteBaseFunctions()
-
setAllowOverwriteBaseFunctions
public void setAllowOverwriteBaseFunctions(boolean allowOverwriteBaseFunctions)
-
isRestrictedIO
public boolean isRestrictedIO()
-
getSaveDir
public String getSaveDir()
-
setSaveDir
public void setSaveDir(String saveDir)
-
isAssertionsOn
public boolean isAssertionsOn()
-
setAssertionsOn
public void setAssertionsOn(boolean assertionsOn)
-
getQdlEditors
public edu.uiuc.ncsa.security.util.cli.editing.Editors getQdlEditors()
-
setQdlEditors
public void setQdlEditors(edu.uiuc.ncsa.security.util.cli.editing.Editors qdlEditors)
-
isUseExternalEditor
public boolean isUseExternalEditor()
-
setUseExternalEditor
public void setUseExternalEditor(boolean useExternalEditor)
-
getExternalEditorPath
public String getExternalEditorPath()
-
setExternalEditorPath
public void setExternalEditorPath(String externalEditorPath)
-
isAutosaveMessagesOn
public boolean isAutosaveMessagesOn()
-
setAutosaveMessagesOn
public void setAutosaveMessagesOn(boolean autosaveMessagesOn)
-
getAutosaveInterval
public long getAutosaveInterval()
-
setAutosaveInterval
public void setAutosaveInterval(long autosaveInterval)
-
isAutosaveOn
public boolean isAutosaveOn()
-
setAutosaveOn
public void setAutosaveOn(boolean autosaveOn)
-
isCompressionOn
public boolean isCompressionOn()
-
setCompressionOn
public void setCompressionOn(boolean compressionOn)
-
getDebugLevel
public String getDebugLevel()
-
setDebugLevel
public void setDebugLevel(String debugLevel)
-
isPrettyPrint
public boolean isPrettyPrint()
-
setPrettyPrint
public void setPrettyPrint(boolean prettyPrint)
-
isShowBanner
public boolean isShowBanner()
-
getNumericDigits
public int getNumericDigits()
-
setNumericDigits
public void setNumericDigits(int numericDigits)
-
getCfgFile
public String getCfgFile()
-
getName
public String getName()
-
isEchoModeOn
public boolean isEchoModeOn()
-
getModuleConfigs
public List<ModuleConfig> getModuleConfigs()
-
isEnabled
public boolean isEnabled()
-
isServerModeOn
public boolean isServerModeOn()
-
hasBootScript
public boolean hasBootScript()
-
getBootScript
public String getBootScript()
-
setWsHomeDir
public void setWsHomeDir(String wsHomeDir)
Should be set in the constructor. The setter here is allowed if the user is overriding it from the command line.- Parameters:
wsHomeDir
-
-
getWSHomeDir
public String getWSHomeDir()
-
getWSEnv
public String getWSEnv()
-
isWSVerboseOn
public boolean isWSVerboseOn()
-
getScriptPath
public String getScriptPath()
-
getModulePath
public String getModulePath()
-
getLibPath
public String getLibPath()
-
isEnableLibrarySupport
public boolean isEnableLibrarySupport()
-
setEnableLibrarySupport
public void setEnableLibrarySupport(boolean enableLibrarySupport)
-
getLibLoader
public LibLoader getLibLoader()
-
setLibLoader
public void setLibLoader(LibLoader libLoader)
-
hasLibLoader
public boolean hasLibLoader()
-
getFont
public Font getFont()
-
setFont
public void setFont(Font font)
-
-