Groovy 2.1.0-beta-1

org.codehaus.groovy.binding
[Java] Class ClosureSourceBinding

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

public class ClosureSourceBinding

Authors:
Danno Ferrin
Version:
\$Revision\$
Since:
Groovy 1.1


Constructor Summary
ClosureSourceBinding(groovy.lang.Closure closure)

ClosureSourceBinding(groovy.lang.Closure closure, Object[] arguments)

 
Method Summary
groovy.lang.Closure getClosure()

Object getSourceValue()

void setClosure(groovy.lang.Closure closure)

void setClosureArgument(Object argument)

void setClosureArguments(Object[] arguments)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

ClosureSourceBinding

public ClosureSourceBinding(groovy.lang.Closure closure)


ClosureSourceBinding

public ClosureSourceBinding(groovy.lang.Closure closure, Object[] arguments)


 
Method Detail

getClosure

public groovy.lang.Closure getClosure()


getSourceValue

public Object getSourceValue()


setClosure

public void setClosure(groovy.lang.Closure closure)


setClosureArgument

public void setClosureArgument(Object argument)


setClosureArguments

public void setClosureArguments(Object[] arguments)


 

Copyright © 2003-2012 The Codehaus. All rights reserved.