[Java] Class ClosureTriggerBinding
- org.codehaus.groovy.binding.ClosureTriggerBinding
- All Implemented Interfaces and Traits:
- SourceBinding, TriggerBinding
public class ClosureTriggerBinding
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 |
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.4.21/html/gapi/org/codehaus/groovy/binding/ClosureTriggerBinding.html