1 19 package org.java.plugin.registry; 20 21 import java.util.Collection ; 22 import java.util.Locale ; 23 24 25 31 public interface IntegrityCheckReport { 32 36 int countErrors(); 37 38 42 int countWarnings(); 43 44 47 Collection getItems(); 48 49 54 interface ReportItem { 55 58 byte SEVERITY_ERROR = 1; 59 60 63 byte SEVERITY_WARNING = 2; 64 65 68 byte SEVERITY_INFO = 3; 69 70 73 int ERROR_NO_ERROR = 0; 74 75 78 int ERROR_CHECKER_FAULT = 1; 79 80 83 int ERROR_MANIFEST_PROCESSING_FAILED = 2; 84 85 88 int ERROR_UNSATISFIED_PREREQUISITE = 3; 89 90 93 int ERROR_BAD_LIBRARY = 4; 94 95 98 int ERROR_INVALID_EXTENSION_POINT = 5; 99 100 103 int ERROR_INVALID_EXTENSION = 6; 104 105 108 byte getSeverity(); 109 110 113 Identity getSource(); 114 115 118 int getCode(); 119 120 124 String getMessage(); 125 126 130 String getMessage(Locale locale); 131 } 132 } 133 | Popular Tags |