public abstract class PatternAndMessage extends Object
Constructor and Description |
---|
PatternAndMessage() |
Modifier and Type | Method and Description |
---|---|
protected void |
check() |
abstract String |
getMessage() |
abstract Pattern |
getPattern() |
static PatternAndMessage |
of(Pattern pattern,
String message) |
public abstract Pattern getPattern()
public abstract String getMessage()
@Value.Check protected void check()
public static PatternAndMessage of(Pattern pattern, String message)