Class ClosureSourceBinding

  • All Implemented Interfaces:
    SourceBinding

    public class ClosureSourceBinding
    extends java.lang.Object
    implements SourceBinding
    Since:
    Groovy 1.1
    • Constructor Detail

      • ClosureSourceBinding

        public ClosureSourceBinding​(Closure closure)
      • ClosureSourceBinding

        public ClosureSourceBinding​(Closure closure,
                                    java.lang.Object[] arguments)
    • Method Detail

      • getClosure

        public Closure getClosure()
      • setClosure

        public void setClosure​(Closure closure)
      • setClosureArguments

        public void setClosureArguments​(java.lang.Object[] arguments)
      • setClosureArgument

        public void setClosureArgument​(java.lang.Object argument)