1 23 package org.hammurapi; 24 25 import java.util.Collection ; 26 27 import com.pavelvlasov.config.ConfigurationException; 28 29 33 public class InspectorDescriptorFilter implements InspectorDescriptor { 34 private InspectorDescriptor master; 35 36 public InspectorDescriptorFilter(InspectorDescriptor master) { 37 this.master=master; 38 } 39 40 43 public String getDescription() { 44 return master.getDescription(); 45 } 46 47 50 public String getFixSample() { 51 return master.getFixSample(); 52 } 53 54 58 public Inspector getInspector() throws ConfigurationException { 59 return master.getInspector(); 60 } 61 62 65 public String getMessage() { 66 return master.getMessage(); 67 } 68 69 73 public String getMessage(String key) { 74 return master.getMessage(key); 75 } 76 77 80 public String getName() { 81 return master.getName(); 82 } 83 84 87 public Integer getOrder() { 88 return master.getOrder(); 89 } 90 91 94 public Collection getParameters() { 95 return master.getParameters(); 96 } 97 98 101 public String getRationale() { 102 return master.getRationale(); 103 } 104 105 108 public String getResources() { 109 return master.getResources(); 110 } 111 112 115 public Integer getSeverity() { 116 return master.getSeverity(); 117 } 118 119 122 public String getViolationSample() { 123 return master.getViolationSample(); 124 } 125 126 129 public Collection getWaiveCases() { 130 return master.getWaiveCases(); 131 } 132 133 137 public String getWaivedInspectorName(String inspectorKey) { 138 return master.getWaivedInspectorName(inspectorKey); 139 } 140 141 144 public Collection getWaivedInspectorNames() { 145 return master.getWaivedInspectorNames(); 146 } 147 148 152 public String getWaiveReason(String inspectorKey) { 153 return master.getWaiveReason(inspectorKey); 154 } 155 156 159 public Boolean isEnabled() { 160 return master.isEnabled(); 161 } 162 163 166 public Boolean isWaivable() { 167 return master.isWaivable(); 168 } 169 170 173 public String getCategory() { 174 return master.getCategory(); 175 } 176 177 public Collection getFilteredInspectorDesriptors(InspectorSet inspectorSet, Collection chain) { 178 return master.getFilteredInspectorDesriptors(inspectorSet, chain); 179 } 180 181 public Collection getAfterInspectorNames() { 182 return master.getAfterInspectorNames(); 183 } 184 } 185 | Popular Tags |