Class ImmutableScript

  • All Implemented Interfaces:
    IScript

    public final class ImmutableScript
    extends java.lang.Object
    implements IScript
    An immutable implementation of 'IScript'.
    • Method Detail

      • immutableCopy

        public static IScript immutableCopy​(IScript script)
      • getContent

        public java.lang.String getContent()
        Specified by:
        getContent in interface IScript
      • getLanguage

        public java.lang.String getLanguage()
        Specified by:
        getLanguage in interface IScript
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

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