001: /*
002: * Hammurapi
003: * Automated Java code review system.
004: * Copyright (C) 2004 Hammurapi Group
005: *
006: * This program is free software; you can redistribute it and/or modify
007: * it under the terms of the GNU General Public License as published by
008: * the Free Software Foundation; either version 2 of the License, or
009: * (at your option) any later version.
010: *
011: * This program is distributed in the hope that it will be useful,
012: * but WITHOUT ANY WARRANTY; without even the implied warranty of
013: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
014: * GNU General Public License for more details.
015: *
016: * You should have received a copy of the GNU General Public License
017: * along with this program; if not, write to the Free Software
018: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
019: *
020: * URL: http://www.hammurapi.org
021: * e-Mail: support@hammurapi.biz
022: */
023: package org.hammurapi;
024:
025: import java.util.Collection;
026:
027: /**
028: * Base class for self-describing inspectorss. It contains empty methods. Subclass can
029: * override only methods of interest instead of implementing all methods from
030: * InspectorDescriptor.
031: * @author Pavel Vlasov
032: * @version $Revision: 1.1 $
033: */
034: public class SelfDescribingInspectorBase extends InspectorBase
035: implements InspectorDescriptor {
036:
037: public String getDescription() {
038: return null;
039: }
040:
041: public Boolean isEnabled() {
042: return null;
043: }
044:
045: public String getName() {
046: return null;
047: }
048:
049: public Integer getSeverity() {
050: return null;
051: }
052:
053: public Integer getOrder() {
054: return null;
055: }
056:
057: public String getRationale() {
058: return null;
059: }
060:
061: public String getViolationSample() {
062: return null;
063: }
064:
065: public String getFixSample() {
066: return null;
067: }
068:
069: public String getResources() {
070: return null;
071: }
072:
073: public String getMessage() {
074: return null;
075: }
076:
077: public Inspector getInspector() {
078: return this ;
079: }
080:
081: public Collection getParameters() {
082: return null;
083: }
084:
085: public String getMessage(String key) {
086: return null;
087: }
088:
089: public Boolean isWaivable() {
090: return null;
091: }
092:
093: public Collection getWaiveCases() {
094: return null;
095: }
096:
097: public String getWaivedInspectorName(String inspectorKey) {
098: return null;
099: }
100:
101: public String getWaiveReason(String inspectorKey) {
102: return null;
103: }
104:
105: public Collection getWaivedInspectorNames() {
106: return null;
107: }
108:
109: public String getCategory() {
110: return null;
111: }
112:
113: public Collection getFilteredInspectorDesriptors(
114: InspectorSet inspectorSet, Collection chain) {
115: return chain;
116: }
117:
118: public Collection getAfterInspectorNames() {
119: return null;
120: }
121: }
|