Package org.codehaus.groovy.binding
Class ClosureSourceBinding
- java.lang.Object
-
- org.codehaus.groovy.binding.ClosureSourceBinding
-
- All Implemented Interfaces:
SourceBinding
public class ClosureSourceBinding extends Object implements SourceBinding
- Since:
- Groovy 1.1
-
-
Constructor Summary
Constructors Constructor Description ClosureSourceBinding(Closure closure)
ClosureSourceBinding(Closure closure, Object[] arguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Closure
getClosure()
Object
getSourceValue()
void
setClosure(Closure closure)
void
setClosureArgument(Object argument)
void
setClosureArguments(Object[] arguments)
-
-
-
Method Detail
-
getClosure
public Closure getClosure()
-
setClosure
public void setClosure(Closure closure)
-
getSourceValue
public Object getSourceValue()
- Specified by:
getSourceValue
in interfaceSourceBinding
-
setClosureArguments
public void setClosureArguments(Object[] arguments)
-
setClosureArgument
public void setClosureArgument(Object argument)
-
-