public final class RundeckMonitorAWTTrayIcon extends RundeckMonitorTrayIcon
| Modifier and Type | Class and Description |
|---|---|
private static class |
RundeckMonitorAWTTrayIcon.RundeckMonitorAWTListenerAdapter
Mouse Adapter and WindowsFocusListener to auto-hide the hidden dialog.
|
| Modifier and Type | Field and Description |
|---|---|
private Map<MenuItem,JobExecutionInfo> |
failedMenuItems
MenuItem for lasts late/failed jobs.
|
private static int |
HIDDEN_DIALOG_SIZE
Size of the hidden dialog box for auto-hide popup-menu when unfocus tray icon.
|
private PopupMenu |
popupMenu
Tray Icon menu.
|
aboutListener, configurationListener, desktop, exitListener, hiddenDialog, ICON_KO_SMALL, ICON_LATE_SMALL, IMAGE_OK, LONG_EXECUTION_MARKER, menuListener, NEW_FAILED_JOB_ALERT, NEW_LONG_EXECUTION_ALERT, newFailedProcess, newLateProcess, RUNDECK_JOB_EXECUTION_URL, RUNDECK_MONITOR_PROJECT_URL, rundeckMonitorConfiguration, rundeckMonitorState, tray, trayIcon| Constructor and Description |
|---|
RundeckMonitorAWTTrayIcon(RundeckMonitorConfiguration rundeckMonitorConfigurationArg,
RundeckMonitorState rundeckMonitorStateArg)
Initialize the tray icon for the rundeckMonitor if the OS is compatible with it.
|
| Modifier and Type | Method and Description |
|---|---|
void |
reloadConfiguration()
Called when configuration is reloaded, clear all menu items and reinitialize action listeners.
|
void |
updateExecutionIdsList(List<JobExecutionInfo> listJobExecutionInfo)
Update the list of failed/late jobs.
|
disposeTrayIcon, openBrowser, updateTrayIconprivate static final int HIDDEN_DIALOG_SIZE
private final PopupMenu popupMenu
private final Map<MenuItem,JobExecutionInfo> failedMenuItems
public RundeckMonitorAWTTrayIcon(RundeckMonitorConfiguration rundeckMonitorConfigurationArg, RundeckMonitorState rundeckMonitorStateArg)
rundeckMonitorConfigurationArg - loaded configurationrundeckMonitorStateArg - state of the rundeck monitorpublic void updateExecutionIdsList(List<JobExecutionInfo> listJobExecutionInfo)
updateExecutionIdsList in class RundeckMonitorTrayIconlistJobExecutionInfo - list of failed and late jobs informationspublic void reloadConfiguration()
reloadConfiguration in class RundeckMonitorTrayIconCopyright © 2013–2015. All rights reserved.