1 /*
2 Bloof - visualize the evolution of your software project
3 Copyright ( C ) 2003 Lukasz Pekacki <lukasz@pekacki.de>
4 http://bloof.sf.net/
5
6 This program is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License along with
15 this program; if not, write to the Free Software Foundation, Inc.,
16 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
18 $RCSfile: Filter.java,v $
19 Created on $Date: 2003/09/06 08:35:09 $
20 */
21 package net.sf.bloof.metrics;
22
23 import net.sf.bloof.util.intl.Messages;
24 import net.sf.bloof.util.intl.Text;
25
26 /***
27 * Filter Interface for Queries.
28 * @author Lukasz Pekacki <pekacki@users.sourceforge.net>
29 * @version $Id: Filter.java,v 1.5 2003/09/06 08:35:09 pekacki Exp $
30 */
31 public interface Filter {
32
33 /***
34 * Returns the type of the filter, must be one of Filter.FILE, Filter.DEVELOPER, Filter.TIMESPAN
35 * @return type of the filter, must be one of Filter.FILE, Filter.DEVELOPER, Filter.TIMESPAN
36 */
37 int getFilterType();
38 /***
39 * Returns the name of the filter
40 * @return name of the Filter
41 */
42 String getName();
43
44 /***
45 * Returns the content of the filter as string
46 * @return name of the Filter
47 */
48 String getContent();
49
50
51 /***
52 * Sets a name
53 * @param aName name to set
54 */
55 void setName(String aName);
56
57 /***
58 * Filter types
59 * */
60 public final static int FILE = 0, DEVELOPER = 1, TIMESPAN = 2;
61 /***
62 * Filter type prefixes
63 * */
64 public final static String[] DEFAULT_NAME_PREFIXES =
65 {
66 Messages.getString(Text.FILE_GROUP),
67 Messages.getString(Text.DEVELOPER_GROUP),
68 Messages.getString(Text.TIMEINTERVAL_GROUP)};
69 }
This page was automatically generated by Maven