[Java] Class ClosureTriggerBinding
- org.codehaus.groovy.binding.ClosureTriggerBinding
- All Implemented Interfaces and Traits:
- SourceBinding, TriggerBinding
public class ClosureTriggerBinding
Properties Summary
Type | Name and description |
---|---|
Closure |
closure |
Constructor Summary
Constructor and description |
---|
ClosureTriggerBinding
(Map<String, TriggerBinding> syntheticBindings) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
FullBinding |
createBinding(SourceBinding source, TargetBinding target) | |
Closure |
getClosure() | |
Object |
getSourceValue() | |
void |
setClosure(Closure closure) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail
Closure closure
Constructor Detail
public ClosureTriggerBinding(Map<String, TriggerBinding> syntheticBindings)
Method Detail
public FullBinding createBinding(SourceBinding source, TargetBinding target)
public Closure getClosure()
public Object getSourceValue()
public void setClosure(Closure closure)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/org/codehaus/groovy/binding/ClosureTriggerBinding.html