Class Script


  • public final class Script
    extends java.lang.Object
    Represents a script in a scripting language.
    Since:
    1.1
    • Method Detail

      • getScriptLanguage

        public java.lang.String getScriptLanguage()
        Returns the language of this script.
        Returns:
        the script language; never null.
      • getScriptText

        public java.lang.String getScriptText()
        Returns the text of this script.
        Returns:
        the script text; never null.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object