public class ClosureSourceBinding extends Object implements SourceBinding
Constructor and Description |
---|
ClosureSourceBinding(Closure closure) |
ClosureSourceBinding(Closure closure,
Object[] arguments) |
Modifier and Type | Method and Description |
---|---|
Closure |
getClosure() |
Object |
getSourceValue() |
void |
setClosure(Closure closure) |
void |
setClosureArgument(Object argument) |
void |
setClosureArguments(Object[] arguments) |
public ClosureSourceBinding(Closure closure)
public Closure getClosure()
public void setClosure(Closure closure)
public Object getSourceValue()
getSourceValue
in interface SourceBinding
public void setClosureArguments(Object[] arguments)
public void setClosureArgument(Object argument)