Class RegexpValueConstraint
- java.lang.Object
-
- org.openl.rules.table.constraints.AbstractConstraint
-
- org.openl.rules.table.constraints.RegexpValueConstraint
-
- All Implemented Interfaces:
Constraint
public class RegexpValueConstraint extends AbstractConstraint
Constraint for string values. Checks that the string value matches specified regular expression pattern.- Author:
- PUdalau
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONSTRAINT_MATCH
-
Constructor Summary
Constructors Constructor Description RegexpValueConstraint(String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheck(Object... valuesToCheck)Object[]getParams()StringgetRegexp()static StringgetRegexPattern(String value)-
Methods inherited from class org.openl.rules.table.constraints.AbstractConstraint
getValue
-
-
-
-
Field Detail
-
CONSTRAINT_MATCH
public static final String CONSTRAINT_MATCH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RegexpValueConstraint
public RegexpValueConstraint(String value)
-
-