buildframework/helium/sf/java/antlint/src/com/nokia/helium/antlint/ant/types/AbstractCheck.java
equal
deleted
inserted
replaced
20 |
20 |
21 import org.apache.tools.ant.BuildException; |
21 import org.apache.tools.ant.BuildException; |
22 import org.apache.tools.ant.types.DataType; |
22 import org.apache.tools.ant.types.DataType; |
23 import org.dom4j.Element; |
23 import org.dom4j.Element; |
24 import org.dom4j.Node; |
24 import org.dom4j.Node; |
|
25 |
25 import com.nokia.helium.antlint.ant.Reporter; |
26 import com.nokia.helium.antlint.ant.Reporter; |
26 import com.nokia.helium.antlint.ant.Severity; |
27 import com.nokia.helium.antlint.ant.Severity; |
27 |
28 |
28 /** |
29 /** |
29 * <code>AbstractCheck</code> is an abstract implementation of {@link Check}. |
30 * <code>AbstractCheck</code> is an abstract implementation of {@link Check}. |
30 * |
31 * |
31 */ |
32 */ |
32 public abstract class AbstractCheck extends DataType implements Check { |
33 public abstract class AbstractCheck extends DataType implements Check { |
33 |
34 |
34 private boolean enabled; |
35 private boolean enabled = true; |
35 private Severity severity; |
36 private Severity severity; |
36 private Reporter reporter; |
37 private Reporter reporter; |
37 |
38 |
38 /** |
39 /** |
39 * @param enabled |
40 * @param enabled |