Class DelegatingScript

  • All Implemented Interfaces:
    groovy.lang.GroovyObject

    public abstract class DelegatingScript
    extends groovy.lang.Script
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void $setDelegate​(java.lang.Object delegate)  
      java.lang.Object getProperty​(java.lang.String property)  
      java.lang.Object invokeMethod​(java.lang.String name, java.lang.Object args)  
      void setProperty​(java.lang.String property, java.lang.Object newValue)  
      • Methods inherited from class groovy.lang.Script

        evaluate, evaluate, getBinding, print, printf, printf, println, println, run, run, setBinding
      • Methods inherited from class groovy.lang.GroovyObjectSupport

        getMetaClass, setMetaClass
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DelegatingScript

        public DelegatingScript()
    • Method Detail

      • $setDelegate

        public void $setDelegate​(java.lang.Object delegate)
      • getProperty

        public java.lang.Object getProperty​(java.lang.String property)
        Specified by:
        getProperty in interface groovy.lang.GroovyObject
        Overrides:
        getProperty in class groovy.lang.Script
      • setProperty

        public void setProperty​(java.lang.String property,
                                java.lang.Object newValue)
        Specified by:
        setProperty in interface groovy.lang.GroovyObject
        Overrides:
        setProperty in class groovy.lang.Script
      • invokeMethod

        public java.lang.Object invokeMethod​(java.lang.String name,
                                             java.lang.Object args)
        Specified by:
        invokeMethod in interface groovy.lang.GroovyObject
        Overrides:
        invokeMethod in class groovy.lang.Script