public abstract class SelectorBasedConstraint extends Object implements Constraint
SelectorBasedConstraint
implements a constraint that is based
on a named selector.Constructor and Description |
---|
SelectorBasedConstraint(SelectorImpl selector)
Creates a new constraint based on the given
selector . |
Modifier and Type | Method and Description |
---|---|
protected SelectorImpl |
getSelector() |
protected int |
getSelectorIndex(Name[] names)
Returns the selector index of this constraint.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
evaluate
public SelectorBasedConstraint(SelectorImpl selector)
selector
.selector
- the selector this constraint is based on.protected int getSelectorIndex(Name[] names)
names
- the selector names.protected SelectorImpl getSelector()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.