Class ValidationResults

  • All Implemented Interfaces:
    org.eclipse.core.runtime.IStatus

    public class ValidationResults
    extends org.eclipse.core.runtime.MultiStatus
    Convenience class for validation results.
    • Field Summary

      • Fields inherited from class org.eclipse.core.runtime.Status

        CANCEL_STATUS, OK_STATUS
      • Fields inherited from interface org.eclipse.core.runtime.IStatus

        CANCEL, ERROR, INFO, OK, WARNING
    • Constructor Summary

      Constructors 
      Constructor Description
      ValidationResults()
      Instantiates a new validation results.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(org.eclipse.core.runtime.IStatus status)  
      String getMessage()  
      • Methods inherited from class org.eclipse.core.runtime.MultiStatus

        addAll, getChildren, isMultiStatus, merge, toString
      • Methods inherited from class org.eclipse.core.runtime.Status

        error, error, getCode, getException, getPlugin, getSeverity, info, isOK, matches, setCode, setException, setMessage, setPlugin, setSeverity, warning, warning
    • Constructor Detail

      • ValidationResults

        public ValidationResults()
        Instantiates a new validation results.
    • Method Detail

      • add

        public void add​(org.eclipse.core.runtime.IStatus status)
        Overrides:
        add in class org.eclipse.core.runtime.MultiStatus
      • getMessage

        public String getMessage()
        Specified by:
        getMessage in interface org.eclipse.core.runtime.IStatus
        Overrides:
        getMessage in class org.eclipse.core.runtime.Status