1 23 package org.hammurapi; 24 25 import java.util.Collection ; 26 27 import com.pavelvlasov.config.ConfigurationException; 28 29 33 public interface InspectorDescriptor { 34 String getCategory(); 35 String getDescription(); 36 Boolean isEnabled(); 37 String getName(); 38 Integer getSeverity(); 39 Integer getOrder(); 40 String getRationale(); 41 String getViolationSample(); 42 String getFixSample(); 43 String getResources(); 44 String getMessage(); 45 String getMessage(String key); 46 47 51 Inspector getInspector() throws ConfigurationException; 52 53 57 Collection getParameters(); 58 59 65 Boolean isWaivable(); 66 67 70 Collection getWaiveCases(); 71 72 76 String getWaivedInspectorName(String inspectorKey); 77 78 Collection getWaivedInspectorNames(); 79 80 84 String getWaiveReason(String inspectorKey); 85 86 92 Collection getFilteredInspectorDesriptors(InspectorSet inspectorSet, Collection chain); 93 94 100 Collection getAfterInspectorNames(); 101 } 102 | Popular Tags |