public class Check
extends java.lang.Object
Constructor and Description |
---|
Check(java.lang.String name,
ValidationConstraint constraint)
Creates new check for provided constraint inside current context.
|
Modifier and Type | Method and Description |
---|---|
ValidationConstraint |
getConstraint()
Returns constraint to check.
|
java.lang.String |
getMessage() |
java.lang.String |
getName()
Returns check name.
|
java.lang.String[] |
getProfiles() |
int |
getSeverity() |
void |
setMessage(java.lang.String message) |
void |
setProfiles(java.lang.String... profiles) |
void |
setSeverity(int severity) |
public Check(java.lang.String name, ValidationConstraint constraint)
public java.lang.String getName()
public ValidationConstraint getConstraint()
public int getSeverity()
public void setSeverity(int severity)
public java.lang.String[] getProfiles()
public void setProfiles(java.lang.String... profiles)
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
Copyright © 2003-present Jodd Team