Class PresetMessageValidationResults

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

    public class PresetMessageValidationResults
    extends org.eclipse.core.runtime.MultiStatus
    Convenience class for validation results. When constructing, a message is provided to be used as the status message when children have problems.
    • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(org.eclipse.core.runtime.IStatus status)  
      • 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, getMessage, getPlugin, getSeverity, info, isOK, matches, setCode, setException, setMessage, setPlugin, setSeverity, warning, warning
    • Constructor Detail

      • PresetMessageValidationResults

        public PresetMessageValidationResults​(String mainMessage)
        Constructs validation results with the specified main message.
        Parameters:
        mainMessage - main message
    • Method Detail

      • add

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