hirondelle.fish.webmaster.diagnostics
Class ClearTroubleTicket
Object
ActionImpl
hirondelle.fish.webmaster.diagnostics.ClearTroubleTicket
- All Implemented Interfaces:
- Action
public final class ClearTroubleTicket
- extends ActionImpl
Remove the TroubleTicket
held in application scope.
When a TroubleTicket occurs, it is placed in application scope.
There, it may be later retrieved and examined. Once it has been
investigated and resolved, it should be removed from application scope, using this Action.
Only one TroubleTicket at a time is stored in application scope.
If a new one occurs, it overwrites any existing TroubleTicket, if any.
Methods inherited from class ActionImpl |
addError, addError, addError, addMessage, addMessage, addToRequest, addToSession, copyFromSessionToRequest, createSessionAndCsrfToken, endSession, getErrors, getExistingSession, getFromSession, getIdParam, getIdParams, getLocale, getLoggedInUserName, getMessages, getOperation, getOrderBy, getParam, getParamUnsafe, getRequestParser, getResponsePage, getTimeZone, getUserId, hasErrors, removeFromSession, setResponsePage |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClearTroubleTicket
public ClearTroubleTicket(RequestParser aRequestParser)
- Constructor.
execute
public ResponsePage execute()
- Remove the
TroubleTicket
from application scope,
and re-display the diagnostics page using ShowDiagnostics
.
Uses Controller.MOST_RECENT_TROUBLE_TICKET
as key.
- Specified by:
execute
in interface Action
- Specified by:
execute
in class ActionImpl
Copyright Hirondelle Systems - Generated 2013Oct19.12.26