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