Package org.qdl_lang.scripting
Class QDLScript
- java.lang.Object
-
- org.qdl_lang.vfs.FileEntry
-
- org.qdl_lang.scripting.QDLScript
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.util.scripting.ScriptInterface
,Serializable
,VFSEntry
,VFSMetaEntry
public class QDLScript extends FileEntry implements edu.uiuc.ncsa.security.util.scripting.ScriptInterface
Created by Jeff Gaynor
on 2/4/20 at 5:09 PM- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_ARG_NAME
-
Fields inherited from class org.qdl_lang.vfs.FileEntry
BINARY_TYPE, CONTENT, CONTENT_TYPE, INPUT_STREAM_TYPE, TEXT_TYPE, TYPE
-
Fields inherited from interface org.qdl_lang.vfs.VFSEntry
SHEBANG_REGEX
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(edu.uiuc.ncsa.security.util.scripting.StateInterface state)
QDLStem
getScriptArglist()
String
getScriptArgName()
String
getType()
boolean
isFromCode()
Flag if this was loaded from a code block.boolean
isRunScript()
protected void
renderContent(Reader rawScript)
Returns the lines of text representation.void
setFromCode(boolean fromCode)
void
setRunScript(boolean runScript)
void
setScriptArglist(QDLStem scriptArglist)
void
setScriptArgName(String scriptArgName)
String
toString()
-
Methods inherited from class org.qdl_lang.vfs.FileEntry
convertToStem, getBytes, getContents, getInputStream, getLines, getPath, getProperties, getProperty, getText, getText, hasContent, isBinaryType, isDirectory, setBytes, setInputStream, setLines, setPath, setProperties, setProperty
-
-
-
-
Field Detail
-
DEFAULT_ARG_NAME
public static String DEFAULT_ARG_NAME
-
-
Method Detail
-
isFromCode
public boolean isFromCode()
Flag if this was loaded from a code block. Part of CIL-1302- Returns:
-
setFromCode
public void setFromCode(boolean fromCode)
-
getScriptArglist
public QDLStem getScriptArglist()
-
setScriptArglist
public void setScriptArglist(QDLStem scriptArglist)
-
getScriptArgName
public String getScriptArgName()
-
setScriptArgName
public void setScriptArgName(String scriptArgName)
-
isRunScript
public boolean isRunScript()
-
setRunScript
public void setRunScript(boolean runScript)
-
getType
public String getType()
-
renderContent
protected void renderContent(Reader rawScript)
Returns the lines of text representation. Mostly the corresponding constructor is a convenience.
-
execute
public void execute(edu.uiuc.ncsa.security.util.scripting.StateInterface state)
- Specified by:
execute
in interfaceedu.uiuc.ncsa.security.util.scripting.ScriptInterface
-
-