Package com.jalios.jcms.tools
Class CheckResult
- java.lang.Object
-
- com.jalios.jcms.tools.CheckResult
-
public class CheckResult extends java.lang.Object
A simple class to save result of a Component Checker.- Since:
- jcms-8.0.3, jcms-9.0.0
- Version:
- $Revision: 129893 $
- Author:
- Sylvain Devaux
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
REVISION
-
Constructor Summary
Constructors Constructor Description CheckResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addError(java.lang.String msg)
void
addOther(CheckResult anotherResult)
java.lang.String
getErrorAsString()
int
getErrorCount()
java.util.List<java.lang.String>
getErrors()
java.lang.String
toString()
void
validate()
Validation when in "Run as Java application" context.
-
-
-
Field Detail
-
REVISION
public static final java.lang.String REVISION
- See Also:
- Constant Field Values
-
-
Method Detail
-
addError
public void addError(java.lang.String msg)
-
getErrorCount
public int getErrorCount()
- Returns:
- the errorCount
-
getErrors
public java.util.List<java.lang.String> getErrors()
- Returns:
- the errors
-
getErrorAsString
public java.lang.String getErrorAsString()
-
validate
public void validate()
Validation when in "Run as Java application" context.- Since:
- jcms-8.0.3, jcms-9.0.0
-
addOther
public void addOther(CheckResult anotherResult)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- Since:
- jcms-9.0.1
- See Also:
Object.toString()
-
-