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