org.opencms.workplace.tools.content.check
public class CmsContentCheckResult extends java.lang.Object
| Constructor and Description |
|---|
CmsContentCheckResult()
Constructor, creates an empty CmsContentCheckResult.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addResult(CmsContentCheckResource testResource)
Adds the testing results of a CmsContentCheckResource to the result lists.
|
java.util.List |
getAllCheckResources()
Gets a list of all CmsContentCheckResource that colleced an error or a warning during the content check.
|
java.util.List |
getAllResources()
Gets a list of all resources that colleced an error or a warning during the content check.
|
java.util.List |
getErrorCheckResources()
Gets a list of all CmsContentCheckResource that colleced an error during the content check.
|
java.util.List |
getErrorResources()
Gets a list of all resources that colleced an error during the content check.
|
java.util.Map |
getErrors()
Gets a map of all error collected during the content check.
|
java.util.List |
getErrors(java.lang.String resourceName)
Gets a list of errors collected during the content check for a given
resource.
|
java.util.List |
getWarningCheckResources()
Gets a list of all CmsContentCheckResource that colleced a warning during the content check.
|
java.util.List |
getWarningResources()
Gets a list of all resources that colleced a warning during the content check.
|
java.util.Map |
getWarnings()
Gets a map of all warnings collected during the content check.
|
java.util.List |
getWarnings(java.lang.String resourceName)
Gets a list of warnings collected during the content check for a given
resource.
|
public CmsContentCheckResult()
public void addResult(CmsContentCheckResource testResource)
testResource - the CmsContentCheckResource to add the results frompublic java.util.List getAllCheckResources()
public java.util.List getAllResources()
public java.util.List getErrorCheckResources()
public java.util.List getErrorResources()
public java.util.Map getErrors()
The map contains the complete resource root path as keys and a list of errors as values.
public java.util.List getErrors(java.lang.String resourceName)
resourceName - the complete root path of the resource to get the list frompublic java.util.List getWarningCheckResources()
public java.util.List getWarningResources()
public java.util.Map getWarnings()
The map contains the complete resource root path as keys and a list of warnings as values.
public java.util.List getWarnings(java.lang.String resourceName)
resourceName - the complete root path of the resource to get the list from