|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.phoenix.report.Origin
public final class Origin
Holds the Origin.
String.type[1..15]. regular expression: [A-Za-z0-9]* *Instances of this class are immutable.
This class implements the Comparable interface based on the natural order of the String representation of its instances.
| Field Summary | |
|---|---|
static Origin |
CHECKSTYLE
Checkstyle findings report http://checkstyle.sf.net/ |
static Origin |
COVERAGE
Emma http://emma.sf.net or Cobertura http://cobertura.sf.net coverage report. |
static Origin |
CPD
Copy & Paste report http://pmd.sf.net/ |
static Origin |
FINDBUGS
Findbugs findings report http://findbugs.sf.net/ |
static Origin |
JAVA_DOC
JavaDoc messages http://java.sun.com/j2se/javadoc/. |
static int |
MAX_LENGTH
The maximal length of Origin (15). |
static int |
MIN_LENGTH
The minimal length of Origin (1). |
static Origin |
PMD
PMD findings report http://pmd.sf.net/ |
static String |
REGULAR_EXPRESSION
The regular expression matching Origin. |
static Pattern |
REGULAR_EXPRESSION_PATTERN
The compiled pattern for the regular expression. |
static Origin |
SYSTEM
jcoderz report merger system errors. |
static String |
TYPE_NAME
Origin - the name of this type as string constant. |
| Method Summary | |
|---|---|
int |
compareTo(Object o)
Compares this Origin with an other. |
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one. |
static Origin |
fromString(String str)
Creates a Origin object from the String representation. |
int |
hashCode()
Returns the hash code for the Origin. |
String |
toString()
Returns the String representation of this Origin. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE_NAME
public static final int MIN_LENGTH
public static final int MAX_LENGTH
public static final String REGULAR_EXPRESSION
public static final Pattern REGULAR_EXPRESSION_PATTERN
public static final Origin PMD
public static final Origin CPD
public static final Origin CHECKSTYLE
public static final Origin FINDBUGS
public static final Origin COVERAGE
public static final Origin JAVA_DOC
public static final Origin SYSTEM
| Method Detail |
|---|
public static Origin fromString(String str)
throws ArgumentMalformedException
str - The str representation of the Origin to be returned.
ArgumentMalformedException - If the given string str
violates the restriction of this type.public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectobj - the object to compare to.
public int hashCode()
hashCode in class Objectpublic int compareTo(Object o)
compareTo in interface Comparableo - the Object to be compared.
ClassCastException - if the specified object's type prevents
it from being compared to this Object.String.compareTo(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||