|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.buildmonitor.BuildReport
public class BuildReport
Build report from a monitor.
| Nested Class Summary | |
|---|---|
static class |
BuildReport.AgeComparator
A comparator to use to compare BuildReport instance according to their age. |
static class |
BuildReport.NameComparator
A comparator to use to compare BuildReport instance according to their names. |
static class |
BuildReport.Status
Status of a build |
| Constructor Summary | |
|---|---|
BuildReport()
No args constructor |
|
BuildReport(java.lang.String theId,
java.util.Date theDate,
BuildReport.Status theStatus)
Create a new instance from an id, a status and a date |
|
| Method Summary | |
|---|---|
java.util.Date |
getDate()
Get the date of the build |
java.lang.String |
getId()
Get the id of the build |
java.lang.String |
getName()
Get the name of the build |
BuildReport.Status |
getStatus()
Get the status of the build |
boolean |
hasFailed()
Does this build report signal a failed build ? |
void |
setDate(java.util.Date theDateOfTheBuild)
Set the date of the build |
void |
setId(java.lang.String theIdOfTheBuild)
Set the id of the build |
void |
setName(java.lang.String theName)
Set the name of the build |
void |
setStatus(BuildReport.Status theStatusOfTheBuild)
Set the status of the build |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BuildReport()
public BuildReport(java.lang.String theId,
java.util.Date theDate,
BuildReport.Status theStatus)
theId - the id of the buildtheDate - the date of the buildtheStatus - the status of the build| Method Detail |
|---|
public java.util.Date getDate()
public void setDate(java.util.Date theDateOfTheBuild)
theDateOfTheBuild - the date of the buildpublic java.lang.String getId()
public void setId(java.lang.String theIdOfTheBuild)
theIdOfTheBuild - public java.lang.String getName()
public void setName(java.lang.String theName)
theName - public BuildReport.Status getStatus()
public void setStatus(BuildReport.Status theStatusOfTheBuild)
theStatusOfTheBuild - the statud of the buildpublic boolean hasFailed()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||