Constructor and Description |
---|
HasPropertyRule(Property property)
Constructs a new instance with the specified property.
|
HasPropertyRule(Property property,
boolean matchEquals)
Constructs a new instance with the specified property.
|
public HasPropertyRule(Property property)
property
- a property instance to check forpublic HasPropertyRule(Property property, boolean matchEquals)
property
- the property to matchmatchEquals
- if true, matches must contain an identical property (as indicated by
Property.equals()
public final boolean match(Component component)