Modifier and Type | Field and Description |
---|---|
private Map<String,Errors> |
_allErrors |
Constructor and Description |
---|
AllErrors() |
Modifier and Type | Method and Description |
---|---|
void |
addError(String metadataPath,
Errors errors)
Add an error.
|
Map<String,Errors> |
getAllErrors()
Retrieves the errors.
|
boolean |
hasErrors()
Test if there is at least one error.
|
String |
toString() |
private Map<String,Errors> _allErrors
public AllErrors()
public boolean hasErrors()
true
if there is at least one error,
false
otherwise.public Map<String,Errors> getAllErrors()
public void addError(String metadataPath, Errors errors)
metadataPath
- the metadata path or null
if global to the content.errors
- the errors.