public class MatchesSpecification extends ExpressionSpecification
| Constructor and Description |
|---|
MatchesSpecification(PropertyFunction<String> property,
String regexp) |
MatchesSpecification(PropertyFunction<String> property,
Variable variable) |
| Modifier and Type | Method and Description |
|---|---|
PropertyFunction<String> |
property() |
String |
regexp() |
boolean |
satisfiedBy(Composite item)
Test whether an item matches the given specification
|
String |
toString() |
Object |
value() |
and, orpublic MatchesSpecification(PropertyFunction<String> property, String regexp)
public MatchesSpecification(PropertyFunction<String> property, Variable variable)
public PropertyFunction<String> property()
public Object value()
public String regexp()
public boolean satisfiedBy(Composite item)
Specificationitem - the item to be tested