public class CollectionConstraint extends org.picocontainer.defaults.CollectionComponentParameter implements Constraint
| Modifier and Type | Field and Description |
|---|---|
protected Constraint |
constraint |
| Constructor and Description |
|---|
CollectionConstraint(Constraint constraint) |
CollectionConstraint(Constraint constraint,
boolean emptyCollection) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(org.picocontainer.PicoVisitor visitor) |
boolean |
evaluate(org.picocontainer.ComponentAdapter adapter)
Evaluate whether the given component adapter matches this constraint.
|
getMatchingComponentAdapters, isResolvable, resolveInstance, verifyprotected Constraint constraint
public CollectionConstraint(Constraint constraint)
public CollectionConstraint(Constraint constraint, boolean emptyCollection)
public boolean evaluate(org.picocontainer.ComponentAdapter adapter)
Constraintevaluate in interface Constraintevaluate in class org.picocontainer.defaults.CollectionComponentParameteradapter - a ComponentAdapter valuepublic void accept(org.picocontainer.PicoVisitor visitor)
accept in interface org.picocontainer.Parameteraccept in class org.picocontainer.defaults.CollectionComponentParameter