Package org.fugerit.java.core.validator
Class ValidatorResult
- java.lang.Object
-
- org.fugerit.java.core.validator.ValidatorResult
-
- All Implemented Interfaces:
Serializable
public class ValidatorResult extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
GENERIC_ID
-
Constructor Summary
Constructors Constructor Description ValidatorResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addError(String fieldId, String message)
void
addGenericError(String message)
void
addGenericWarning(String fieldId, String message)
void
addWarning(String fieldId, String message)
List<PropertyEntry>
getErrors()
List<String>
getFieldErrors(String fieldId)
List<String>
getFieldWarning(String fieldId)
List<String>
getGenericErrors()
List<String>
getGenericWarning()
List<PropertyEntry>
getWarnings()
-
-
-
Field Detail
-
GENERIC_ID
public static final String GENERIC_ID
-
-
Method Detail
-
addGenericError
public void addGenericError(String message) throws ConfigException
- Throws:
ConfigException
-
addGenericWarning
public void addGenericWarning(String fieldId, String message) throws ConfigException
- Throws:
ConfigException
-
addError
public void addError(String fieldId, String message) throws ConfigException
- Throws:
ConfigException
-
addWarning
public void addWarning(String fieldId, String message) throws ConfigException
- Throws:
ConfigException
-
getErrors
public List<PropertyEntry> getErrors()
-
getWarnings
public List<PropertyEntry> getWarnings()
-
-