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
- Author:
- Sylvain Devaux
-
-
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.
-
-
-
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()
-
-