Package org.jboss.byteman.rule.binding
Class Bindings
java.lang.Object
org.jboss.byteman.rule.binding.Bindings
* an ordered list of ECA rule event bindings as they occur in the event specification
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBindings
(List<Binding> bindings) add the method parameter bindings to the front of the list n.b.void
append a binding to the end of the currrent bindings listiterator()
lookup a binding in the list by name
-
Field Details
-
bindings
the list of current bindings
-
-
Constructor Details
-
Bindings
public Bindings()
-
-
Method Details
-
lookup
lookup a binding in the list by name- Parameters:
name
- the name of the bound variable- Returns:
- the binding or null if no bidngin exists with the supplied name
-
addBindings
add the method parameter bindings to the front of the list n.b. the caller must ensure that the bindings are only for the rule's positional parameters and have names constructed from successive non-negative integers- Parameters:
bindings
- the bindings to add
-
append
append a binding to the end of the currrent bindings list- Parameters:
binding
- the binding
-
iterator
-