|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BuildMonitor
Field Summary | |
---|---|
static java.lang.String |
MESSAGEKEY_ERROR_DIALOG_TITLE
|
static java.lang.String |
MESSAGEKEY_ERROR_SYSTEMTRAY_NOT_SUPPORTED
|
static java.lang.String |
MESSAGEKEY_TRAYICON_INITIAL_TOOLTIP
|
static java.lang.String |
MESSAGEKEY_TRAYICON_MENU_EXIT
|
static java.lang.String |
MESSAGEKEY_TRAYICON_MENU_SORT
|
static java.lang.String |
MESSAGEKEY_TRAYICON_MENUITEM_ABOUT
|
static java.lang.String |
MESSAGEKEY_TRAYICON_MENUITEM_BUILD_SERVER_HOME_PAGE_SUFFIX
|
static java.lang.String |
MESSAGEKEY_TRAYICON_MENUITEM_EXIT
|
static java.lang.String |
MESSAGEKEY_TRAYICON_MENUITEM_OPTIONS
|
static java.lang.String |
MESSAGEKEY_TRAYICON_MENUITEM_SORT_BY_AGE
|
static java.lang.String |
MESSAGEKEY_TRAYICON_MENUITEM_SORT_BY_NAME
|
static java.lang.String |
MESSAGEKEY_TRAYICON_MENUITEM_UPDATE_STATUS_NOW
|
static java.lang.String |
MESSAGEKEY_UNEXPECTED_ERROR_MESSAGE
|
Method Summary | |
---|---|
java.awt.Image |
getDialogsDefaultIcon()
Returns the default icon to be displayed by dialogs opened by monitors |
java.lang.String |
getMessage(java.lang.String theMessageKey)
Get a message identified by its key in the application resource bundle. |
void |
panic(java.lang.String theErrorMessage)
The method to call when an unrecoverable error occurs in the application and you want to display your own message (instead of a generic one).It displays your error message to the end user and then exit. |
void |
panic(java.lang.Throwable theUnexpectedProblem)
The method to call when an unrecoverable error occurs in the application. |
void |
reportConfigurationUpdatedToBeTakenIntoAccountImmediately()
Report an update of the monitor configuration to be taken into account immediately |
void |
reportMonitoringException(MonitoringException theMonitoringException)
Report a monitoring exception (this method is called by build monitors to notify that a monitoring exception occured) |
void |
updateBuildStatus(java.util.List<BuildReport> theBuildsStatus)
Update the build status (this method is called by build monitors to update the GUI when the build status has changed). |
Field Detail |
---|
static final java.lang.String MESSAGEKEY_TRAYICON_INITIAL_TOOLTIP
static final java.lang.String MESSAGEKEY_TRAYICON_MENU_EXIT
static final java.lang.String MESSAGEKEY_TRAYICON_MENU_SORT
static final java.lang.String MESSAGEKEY_TRAYICON_MENUITEM_EXIT
static final java.lang.String MESSAGEKEY_TRAYICON_MENUITEM_SORT_BY_NAME
static final java.lang.String MESSAGEKEY_TRAYICON_MENUITEM_SORT_BY_AGE
static final java.lang.String MESSAGEKEY_TRAYICON_MENUITEM_UPDATE_STATUS_NOW
static final java.lang.String MESSAGEKEY_TRAYICON_MENUITEM_BUILD_SERVER_HOME_PAGE_SUFFIX
static final java.lang.String MESSAGEKEY_TRAYICON_MENUITEM_ABOUT
static final java.lang.String MESSAGEKEY_TRAYICON_MENUITEM_OPTIONS
static final java.lang.String MESSAGEKEY_ERROR_DIALOG_TITLE
static final java.lang.String MESSAGEKEY_UNEXPECTED_ERROR_MESSAGE
static final java.lang.String MESSAGEKEY_ERROR_SYSTEMTRAY_NOT_SUPPORTED
Method Detail |
---|
void panic(java.lang.Throwable theUnexpectedProblem)
theUnexpectedProblem
- the Throwable that was unexpected.void panic(java.lang.String theErrorMessage)
theErrorMessage
- the error message to display to the end user.java.lang.String getMessage(java.lang.String theMessageKey)
theMessageKey
- the message key
java.awt.Image getDialogsDefaultIcon()
void updateBuildStatus(java.util.List<BuildReport> theBuildsStatus)
theBuildsStatus
- a List that contains the each build report to use to update the
global status.void reportMonitoringException(MonitoringException theMonitoringException)
theMonitoringException
- the monitoring exception to display to the end uservoid reportConfigurationUpdatedToBeTakenIntoAccountImmediately()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |