Class QuickRemedialAction

java.lang.Object
PamController.status.QuickRemedialAction
All Implemented Interfaces:
RemedialAction

public class QuickRemedialAction extends Object implements RemedialAction
Quick remedial action. Can generally be used to wrap an existing menu item handler
Author:
dg50
  • Constructor Details

  • Method Details

    • getInfo

      public String getInfo()
      Description copied from interface: RemedialAction
      Text based information about the action to take - might be displayed on screen, in a tooltip, etc.
      Specified by:
      getInfo in interface RemedialAction
      Returns:
      text information about the action.
    • takeAction

      public ModuleStatus takeAction(ModuleStatus currentStatus)
      Description copied from interface: RemedialAction
      Take remedial action - open a dialog, fix it directly, etc.
      Specified by:
      takeAction in interface RemedialAction
      Parameters:
      currentStatus - current status - may contain information needed for the action
      Returns:
      new status following the attempted action.