Package org.ametys.cms.workflow
Class AllErrors
- java.lang.Object
-
- org.ametys.cms.workflow.AllErrors
-
-
Constructor Summary
Constructors Constructor Description AllErrors()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Constructor Detail
-
AllErrors
public AllErrors()
-
-
Method Detail
-
hasErrors
public boolean hasErrors()
Test if there is at least one error.- Returns:
true
if there is at least one error,false
otherwise.
-
getAllErrors
public Map<String,Errors> getAllErrors()
Retrieves the errors.- Returns:
- the errors.
-
addError
public void addError(String metadataPath, Errors errors)
Add an error.- Parameters:
metadataPath
- the metadata path ornull
if global to the content.errors
- the errors.
-
-