Class ClosureSourceBinding

java.lang.Object
org.codehaus.groovy.binding.ClosureSourceBinding
All Implemented Interfaces:
SourceBinding

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

    Constructors
    Constructor Description
    ClosureSourceBinding​(Closure closure)
    Deprecated.
     
    ClosureSourceBinding​(Closure closure, java.lang.Object[] arguments)
    Deprecated.
     
  • Method Summary

    Modifier and Type Method Description
    Closure getClosure()
    Deprecated.
     
    java.lang.Object getSourceValue()
    Deprecated.
     
    void setClosure​(Closure closure)
    Deprecated.
     
    void setClosureArgument​(java.lang.Object argument)
    Deprecated.
     
    void setClosureArguments​(java.lang.Object[] arguments)
    Deprecated.
     

    Methods inherited from class java.lang.Object

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

    • ClosureSourceBinding

      public ClosureSourceBinding​(Closure closure)
      Deprecated.
    • ClosureSourceBinding

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

    • getClosure

      public Closure getClosure()
      Deprecated.
    • setClosure

      public void setClosure​(Closure closure)
      Deprecated.
    • getSourceValue

      public java.lang.Object getSourceValue()
      Deprecated.
      Specified by:
      getSourceValue in interface SourceBinding
    • setClosureArguments

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

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