Class ProjectValidationResults

java.lang.Object
com.gooddata.sdk.model.project.ProjectValidationResults

public class ProjectValidationResults
extends java.lang.Object
Results of project validation. Deserialization only.
  • Method Summary

    Modifier and Type Method Description
    java.util.List<ProjectValidationResult> getResults()
    Get validation results, describing output of all validations executed.
    boolean isError()
    True if validation found some error
    boolean isFatalError()
    True in case some part of validation crashed (not executed at all)
    boolean isValid()
    True if no warning or error is in the validation results.
    boolean isWarning()
    True if some warning was found during validation.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • isError

      public boolean isError()
      True if validation found some error
      Returns:
      true in case of validation error, false otherwise
    • isFatalError

      public boolean isFatalError()
      True in case some part of validation crashed (not executed at all)
      Returns:
      true if validation crashed, false otherwise
    • isWarning

      public boolean isWarning()
      True if some warning was found during validation.
      Returns:
      true if some warning was found during validation, false otherwise
    • isValid

      public boolean isValid()
      True if no warning or error is in the validation results.
      Returns:
      true if no warning or error is in the validation results, false otherwise
    • getResults

      public java.util.List<ProjectValidationResult> getResults()
      Get validation results, describing output of all validations executed. Can return empty list, in case the validation had no error or warning (is valid)-
      Returns:
      validation results list
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object