| |
|
| java.lang.Object org.codehaus.dna.tools.verifier.VerifyIssue
VerifyIssue | public class VerifyIssue (Code) | | Class defining a problem discovered when verifying a
DNA component type.
author: Peter Donald version: $Revision: 1.1 $ $Date: 2004/04/18 20:13:45 $ |
Field Summary | |
final public static int | ERROR Severity when issue is an error that
will cause the component to fail to
load. | final public static int | NOTICE Severity when issue is just a
notice such as going against a
convention. | final public static int | WARNING Severity when issue is just a warning and
not an error. |
Constructor Summary | |
public | VerifyIssue(int severity, String description) Create a new VerifyIssue. |
Method Summary | |
public String | getDescription() Return a description of the issue. | public boolean | isError() Return true if issue is an error. | public boolean | isWarning() Return true if issue is a warning. |
ERROR | final public static int ERROR(Code) | | Severity when issue is an error that
will cause the component to fail to
load.
|
NOTICE | final public static int NOTICE(Code) | | Severity when issue is just a
notice such as going against a
convention.
|
WARNING | final public static int WARNING(Code) | | Severity when issue is just a warning and
not an error.
|
VerifyIssue | public VerifyIssue(int severity, String description)(Code) | | Create a new VerifyIssue.
Parameters: severity - the serverity Parameters: description - the description |
getDescription | public String getDescription()(Code) | | Return a description of the issue.
a description of the issue. |
isError | public boolean isError()(Code) | | Return true if issue is an error.
true if issue is an error. |
isWarning | public boolean isWarning()(Code) | | Return true if issue is a warning.
true if issue is a warning. |
|
|
|