Class Jython

    • Field Detail

      • m_ConditionObject

        protected transient AbstractTestCondition m_ConditionObject
        the loaded script object.
      • m_InlineScript

        protected JythonScript m_InlineScript
        the inline script.
      • m_AdditionalOptions

        protected Hashtable<String,​String> m_AdditionalOptions
        for storing the additional options.
    • Constructor Detail

      • Jython

        public Jython()
    • Method Detail

      • getDefaultInlineScript

        protected JythonScript getDefaultInlineScript()
        Returns the default inline script.
        Returns:
        the default script
      • setInlineScript

        public void setInlineScript​(JythonScript value)
        Sets the inline script to use instead of the external script file.
        Parameters:
        value - the inline script
      • getInlineScript

        public JythonScript getInlineScript()
        Gets the inline script to use instead of the external script file.
        Returns:
        the inline script
      • inlineScriptTipText

        public String inlineScriptTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the explorer/experimenter gui
      • setAdditionalOptions

        public void setAdditionalOptions​(Hashtable<String,​String> options)
        Sets the additional options.
        Parameters:
        options - the options (name <->value relation)
      • getAdditionalOption

        public String getAdditionalOption​(String name,
                                          String defValue)
        Returns the value associated with the (additional) option.
        Parameters:
        name - the name of the additional option to retrieve
        defValue - the default value
        Returns:
        the value or null if not available