|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.kerrybuckley.cctrayicon.swing.SwingCcStatusMonitor
Field Summary |
Fields inherited from interface com.kerrybuckley.cctrayicon.CcStatusMonitor |
DEFAULT_POLL_INTERVAL |
Method Summary | |
void |
addMenuItem(javax.swing.JMenuItem item)
Add a menu item to the monitor's menu. |
static void |
main(java.lang.String[] args)
Starts a new instance of the status monitor tray icon running. |
void |
notifyBuildFailure(java.lang.String message)
Notify the monitor of build failure(s). |
void |
notifyBuildFixed(java.lang.String message)
Notify the monitor that failed build(s) is/are now fixed. |
void |
notifyServerUnreachable(java.lang.String message)
Notify the monitor that the server is unreachable. |
void |
setStatus(boolean buildClean)
Set the overall status of the build. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- arguments (not used)
java.lang.Exception
- if initialisation failspublic void setStatus(boolean buildClean)
CcStatusMonitor
setStatus
in interface CcStatusMonitor
buildClean
- a flag indicating whether the build is clean.CcStatusMonitor.setStatus(boolean)
public void notifyBuildFailure(java.lang.String message)
CcStatusMonitor
notifyBuildFailure
in interface CcStatusMonitor
message
- a message to display with the notificationCcStatusMonitor.notifyBuildFailure(java.lang.String)
public void notifyBuildFixed(java.lang.String message)
CcStatusMonitor
notifyBuildFixed
in interface CcStatusMonitor
message
- a message to display with the notificationCcStatusMonitor.notifyBuildFixed(java.lang.String)
public void notifyServerUnreachable(java.lang.String message)
CcStatusMonitor
notifyServerUnreachable
in interface CcStatusMonitor
message
- a message to display with the notificationCcStatusMonitor.notifyServerUnreachable(java.lang.String)
public void addMenuItem(javax.swing.JMenuItem item)
item
- the item to add
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |