Class 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()  
    • Constructor Detail

      • CheckResult

        public CheckResult()
    • 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 class java.lang.Object
        Since:
        jcms-9.0.1
        See Also:
        Object.toString()