public class PatternDef extends ConstraintDef<PatternDef,Pattern>
constraintType, parameters| Constructor and Description |
|---|
PatternDef() |
| Modifier and Type | Method and Description |
|---|---|
PatternDef |
flags(Pattern.Flag[] flags) |
PatternDef |
regexp(String regexp) |
addParameter, groups, message, payload, toStringpublic PatternDef flags(Pattern.Flag[] flags)
public PatternDef regexp(String regexp)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.