Package PamController.status
Interface RemedialAction
- All Known Implementing Classes:
QuickRemedialAction
public interface RemedialAction
Actions that can be attached to a status message. These may attempt to
fix a problem directly, or might just take you to a dialog to sort it
out.
- Author:
- dg50
-
Method Summary
Modifier and TypeMethodDescriptiongetInfo()
Text based information about the action to take - might be displayed on screen, in a tooltip, etc.takeAction
(ModuleStatus currentStatus) Take remedial action - open a dialog, fix it directly, etc.
-
Method Details
-
getInfo
String getInfo()Text based information about the action to take - might be displayed on screen, in a tooltip, etc.- Returns:
- text information about the action.
-
takeAction
Take remedial action - open a dialog, fix it directly, etc.- Parameters:
currentStatus
- current status - may contain information needed for the action- Returns:
- new status following the attempted action.
-