public final class ConstraintRegex extends Object implements Constraint<String,String>
| Constructor and Description |
|---|
ConstraintRegex(String regex) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkConstraint(String value) |
MessageText |
getErrorMessage() |
Property |
getProperty() |
String |
getPropertyValue() |
String |
getRegex() |
public ConstraintRegex(String regex)
regex - Expression régulièrepublic boolean checkConstraint(String value)
checkConstraint in interface Constraint<String,String>public MessageText getErrorMessage()
getErrorMessage in interface Constraint<String,String>public Property getProperty()
getProperty in interface Constraint<String,String>public String getPropertyValue()
getPropertyValue in interface Constraint<String,String>public String getRegex()
Copyright © 2019. All Rights Reserved.