|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.phoenix.report.ReportFormat
public final class ReportFormat
Enumerated type of a report format. Instances of this class are immutable. The following report formats are defined:
| Field Summary | |
|---|---|
static ReportFormat |
CHECKSTYLE
The ReportFormat checkstyle. |
static ReportFormat |
COBERTURA
The ReportFormat cobertura. |
static ReportFormat |
CPD
The ReportFormat cpd. |
static ReportFormat |
EMMA
The ReportFormat emma. |
static ReportFormat |
FINDBUGS
The ReportFormat findbugs. |
static ReportFormat |
GENERIC
The ReportFormat generic. |
static ReportFormat |
JCODERZ
The ReportFormat jcoderz. |
static ReportFormat |
JCOVERAGE
The ReportFormat jcoverage. |
static ReportFormat |
PMD
The ReportFormat pmd. |
static ReportFormat |
SOURCE_DIRECTORY
The ReportFormat sourceDirectory. |
static String |
TYPE_NAME
The name of this type. |
static Map |
VALUE_MAP
Immutable map using the name string as key holding the ReportFormats as values. |
static List |
VALUES
Immutable list of the ReportFormats. |
| Method Summary | |
|---|---|
static ReportFormat |
fromInt(int i)
Creates a ReportFormat object from its int representation. |
static ReportFormat |
fromString(String str)
Creates a ReportFormat object from its String representation. |
int |
toInt()
Returns the int representation of this report format. |
String |
toString()
Returns the String representation of this report format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE_NAME
public static final ReportFormat SOURCE_DIRECTORY
public static final ReportFormat JCODERZ
public static final ReportFormat CHECKSTYLE
public static final ReportFormat JCOVERAGE
public static final ReportFormat FINDBUGS
public static final ReportFormat PMD
public static final ReportFormat CPD
public static final ReportFormat COBERTURA
public static final ReportFormat EMMA
public static final ReportFormat GENERIC
public static final List VALUES
public static final Map VALUE_MAP
| Method Detail |
|---|
public static ReportFormat fromInt(int i)
throws ArgumentMalformedException
i - the integer representation of the report format.
ArgumentMalformedException - If the assigned int value isn't
listed in the internal report format table.
public static ReportFormat fromString(String str)
throws ArgumentMalformedException
str - the string representation of the
report format.
ArgumentMalformedException - If the given str value isn't
listed in the internal report format table.public int toInt()
toInt in interface EnumTypepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||