KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hammurapi > SelfDescribingInspectorBase


1 /*
2  * Hammurapi
3  * Automated Java code review system.
4  * Copyright (C) 2004 Hammurapi Group
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  *
20  * URL: http://www.hammurapi.org
21  * e-Mail: support@hammurapi.biz
22  */

23 package org.hammurapi;
24
25 import java.util.Collection JavaDoc;
26
27 /**
28  * Base class for self-describing inspectorss. It contains empty methods. Subclass can
29  * override only methods of interest instead of implementing all methods from
30  * InspectorDescriptor.
31  * @author Pavel Vlasov
32  * @version $Revision: 1.1 $
33  */

34 public class SelfDescribingInspectorBase
35     extends InspectorBase
36     implements InspectorDescriptor {
37
38     public String JavaDoc getDescription() {
39         return null;
40     }
41
42     public Boolean JavaDoc isEnabled() {
43         return null;
44     }
45
46     public String JavaDoc getName() {
47         return null;
48     }
49
50     public Integer JavaDoc getSeverity() {
51         return null;
52     }
53
54     public Integer JavaDoc getOrder() {
55         return null;
56     }
57
58     public String JavaDoc getRationale() {
59         return null;
60     }
61
62     public String JavaDoc getViolationSample() {
63         return null;
64     }
65
66     public String JavaDoc getFixSample() {
67         return null;
68     }
69
70     public String JavaDoc getResources() {
71         return null;
72     }
73
74     public String JavaDoc getMessage() {
75         return null;
76     }
77
78     public Inspector getInspector() {
79         return this;
80     }
81
82     public Collection JavaDoc getParameters() {
83         return null;
84     }
85
86     public String JavaDoc getMessage(String JavaDoc key) {
87         return null;
88     }
89
90     public Boolean JavaDoc isWaivable() {
91         return null;
92     }
93
94     public Collection JavaDoc getWaiveCases() {
95         return null;
96     }
97
98     public String JavaDoc getWaivedInspectorName(String JavaDoc inspectorKey) {
99         return null;
100     }
101
102     public String JavaDoc getWaiveReason(String JavaDoc inspectorKey) {
103         return null;
104     }
105
106     public Collection JavaDoc getWaivedInspectorNames() {
107         return null;
108     }
109
110     public String JavaDoc getCategory() {
111         return null;
112     }
113
114     public Collection JavaDoc getFilteredInspectorDesriptors(InspectorSet inspectorSet, Collection JavaDoc chain) {
115         return chain;
116     }
117
118     public Collection JavaDoc getAfterInspectorNames() {
119         return null;
120     }
121 }
122
Popular Tags