public class HostPortListConstraint extends Object implements Constraint<HostPortList,String>
| Constructor and Description |
|---|
HostPortListConstraint() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid(HostPortList annotation,
String value)
For each value or parameter which should be checked this method will be invoked.
|
public boolean isValid(HostPortList annotation, String value)
ConstraintisValid in interface Constraint<HostPortList,String>annotation - the annotation to matchvalue - the value to be checked