1 11 package org.eclipse.core.runtime; 12 13 41 public interface IStatus { 42 43 48 public static final int OK = 0; 49 50 54 public static final int INFO = 0x01; 55 56 60 public static final int WARNING = 0x02; 61 62 66 public static final int ERROR = 0x04; 67 68 74 public static final int CANCEL = 0x08; 75 76 83 public IStatus[] getChildren(); 84 85 90 public int getCode(); 91 92 100 public Throwable getException(); 101 102 108 public String getMessage(); 109 110 116 public String getPlugin(); 117 118 138 public int getSeverity(); 139 140 157 public boolean isMultiStatus(); 158 159 166 public boolean isOK(); 167 168 185 public boolean matches(int severityMask); 186 } 187 | Popular Tags |