java.lang.Object
org.milligan.eccles.ReportType
- public class ReportType
- extends java.lang.Object
A report type, name, level, code etc.
|
Field Summary |
private java.lang.String |
code
Code of report type |
static int |
COUNTER_LEVEL
Level for counters - will not have messages reported but will be counted by the ResultCollator |
private java.lang.String |
description
Description of report |
static int |
ERROR_LEVEL
All levels including this one and above are 'errors' and will be reported to JUnit |
private int |
level
Level of report |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
code
private java.lang.String code
- Code of report type
level
private int level
- Level of report
description
private java.lang.String description
- Description of report
COUNTER_LEVEL
public static final int COUNTER_LEVEL
- Level for counters - will not have messages reported but will be counted by the ResultCollator
- See Also:
- Constant Field Values
ERROR_LEVEL
public static final int ERROR_LEVEL
- All levels including this one and above are 'errors' and will be reported to JUnit
- See Also:
- Constant Field Values
ReportType
public ReportType(java.lang.String code,
java.lang.String description,
int level)
ReportType
public ReportType()
isAtLeastError
public boolean isAtLeastError()
- Returns true if the level of this object is a least the error level
setCode
public void setCode(java.lang.String code)
getCode
public java.lang.String getCode()
setLevel
public void setLevel(int level)
getLevel
public int getLevel()
setDescription
public void setDescription(java.lang.String description)
getDescription
public java.lang.String getDescription()