01: package com.jamonapi.utils;
02:
03: /** This class interface will return a detail form in the getDetailLabel method which
04: * is appropriate for logging. getSummaryLabel returns a label that is appropriate for jamon
05: * (i.e. not too unique). toString() should always return the more general/summary label.
06: * Example: getDetailLabel()=select * from table where key=100 and name='mindy'
07: * getLabel()=select * from table where key=? and name=?
08: * toString()=getLabel()
09: * @author steve souza
10: *
11: */
12: public interface Generalizer {
13: public String generalize(String detail);
14: }
|