Class 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 Detail

      • DEFAULT_ARG_NAME

        public static String DEFAULT_ARG_NAME
    • Constructor Detail

      • QDLScript

        public QDLScript​(List<String> lines,
                         edu.uiuc.ncsa.security.core.configuration.XProperties xp)
      • QDLScript

        public QDLScript​(Reader script,
                         edu.uiuc.ncsa.security.core.configuration.XProperties properties)
    • 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)
      • 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 interface edu.uiuc.ncsa.security.util.scripting.ScriptInterface