|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.cruisecontrol.listeners.CurrentBuildStatusPageListener
Updates replaceable text in a pattern file each time the Project status changes. Can show full project status history. The following items will be replaced with their values each time they occur in the source file:
DateFormatFactory
for the dateformat
Constructor Summary | |
CurrentBuildStatusPageListener()
Default constructor just used for initialization of local members. |
Method Summary | |
static java.lang.String |
formatDuration(long msecs)
formats the given number of milliseconds as HH:MM:SS.sss |
void |
handleEvent(ProjectEvent event)
|
void |
setFile(java.lang.String fileName)
|
void |
setSourceFile(java.lang.String fileName)
|
void |
validate()
Called after the configuration is read to make sure that all the mandatory parameters were specified.. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CurrentBuildStatusPageListener()
Method Detail |
public void handleEvent(ProjectEvent event) throws CruiseControlException
handleEvent
in interface Listener
CruiseControlException
public static java.lang.String formatDuration(long msecs)
msecs
- number of milliseconds
public void validate() throws CruiseControlException
Listener
validate
in interface Listener
CruiseControlException
- if there was a configuration error.public void setFile(java.lang.String fileName)
public void setSourceFile(java.lang.String fileName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |