|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.maven.issues.util.ReportReference
public class ReportReference
A simple model for report references.
Constructor Summary | |
---|---|
ReportReference(String label, String url, org.apache.maven.artifact.versioning.ArtifactVersion versionRepresentative) Default constructor. |
Method Summary | |
---|---|
int |
compareTo(ReportReference o) |
boolean |
equals(Object object) Returns true if the given object is semantically equal to the given object, false otherwise. |
String |
getLabel() Returns the label to display. |
String |
getUrl() Returns the URL to the references report. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getVersionRepresentative() Returns the representative for the versions in this report. |
int |
hashCode() Returns the hash code of the object. |
String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReportReference(String label, String url, org.apache.maven.artifact.versioning.ArtifactVersion versionRepresentative) throws NullPointerException
label
- the label to display.
url
- the URL to the references report.
versionRepresentative
- the representative for the versions in this report.
NullPointerException
- if any parameter is
null
.
Method Detail |
---|
public String getLabel()
public String getUrl()
public org.apache.maven.artifact.versioning.ArtifactVersion getVersionRepresentative()
The ordering of report references is determined by this representative.
public int hashCode()
hashCode
in class
Object
public boolean equals(Object object)
true
if the given object is semantically equal to the given object,
false
otherwise.
equals
in class
Object
object
- the instance to compare to.
true
if the given object is semantically equal to the given object,
false
otherwise.
public int compareTo(ReportReference o)
compareTo
in interface
Comparable<ReportReference>
Comparable.compareTo(java.lang.Object)
public String toString()
toString
in class
Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |