1 23 package org.hammurapi.inspectors; 24 25 import org.hammurapi.InspectorBase; 26 27 import com.pavelvlasov.config.ConfigurationException; 28 import com.pavelvlasov.config.Parameterizable; 29 30 36 public class TooMuchLoggingRule extends InspectorBase implements Parameterizable { 37 45 46 48 public boolean setParameter(String name, Object parameter) throws ConfigurationException { 49 if ("<parameter name>".equals(name)) { 50 return true; 52 } 53 54 throw new ConfigurationException("Parameter '"+name+"' is not supported by "+getClass().getName()); 55 } 56 } 57 | Popular Tags |