public class Exact extends Object implements LengthOption
Modifier and Type | Method and Description |
---|---|
Object[] |
getMessageParameters() |
String |
getParametrizedMessage() |
static Exact |
of(int length) |
boolean |
validate(String fieldValue) |
public static Exact of(int length)
public boolean validate(String fieldValue)
validate
in interface LengthOption
public String getParametrizedMessage()
getParametrizedMessage
in interface LengthOption
public Object[] getMessageParameters()
getMessageParameters
in interface LengthOption
Copyright © 2016 JavaLite. All rights reserved.