|
| SupervisorController () |
|
void | setSupervisor (ISystemSupervisor supervisor) |
|
void | setHostManager (IHostFilterManager hostManager) |
|
void | setUserManager (IUserManager userManager) |
|
String | supervisorSettings (Model model, HttpServletRequest request) |
|
String | addSupervisorSetting (Model model, @RequestParam(value="filter", required=false) String filter, HttpServletRequest request) |
|
String | removeSupervisorSetting (Model model, @RequestParam(value="filter", required=false) String filter, HttpServletRequest request) |
|
void | supervisorStatus ( @RequestParam(value="format", required=false) String format, @RequestParam(value="reporters", required=false) String reportersstr, @RequestParam(value="sources", required=false) String sources, @RequestParam(value="areas", required=false) String areas, @RequestParam(value="peers", required=false) String peers, @RequestParam(value="objects", required=false) String objects, @RequestParam(value="minutes", required=false) String minutes, HttpServletRequest request, HttpServletResponse response) |
|
|
Map< String, Object > | createMap (String sources, String areas, String peers, String objects, String minutes) |
|
String | createValueString (String reporter, String sources, String areas, String peers, String objects, String minutes, Map< String, String > optional) |
|
XmlSystemStatusGenerator | getXmlGenerator () |
|
boolean | isAuthorized (HttpServletRequest request) |
|
Controller providing supervisor status information.
- Author
- Anders Henja
◆ SupervisorController()
eu.baltrad.beastui.web.controller.SupervisorController.SupervisorController |
( |
| ) |
|
|
inline |
◆ createMap()
Map< String, Object > eu.baltrad.beastui.web.controller.SupervisorController.createMap |
( |
String | sources, |
|
|
String | areas, |
|
|
String | peers, |
|
|
String | objects, |
|
|
String | minutes ) |
|
inlineprotected |
Creates a hash map to be used for passing values to the supervisor
- Parameters
-
sources | the sources |
areas | the areas |
peers | the peers |
objects | the objects |
minutes | the minutes |
- Returns
- the map
◆ createValueString()
String eu.baltrad.beastui.web.controller.SupervisorController.createValueString |
( |
String | reporter, |
|
|
String | sources, |
|
|
String | areas, |
|
|
String | peers, |
|
|
String | objects, |
|
|
String | minutes, |
|
|
Map< String, String > | optional ) |
|
inlineprotected |
Creates the value string that should exist in the xml report
- Parameters
-
reporter | the reporter |
sources | the sources if any |
areas | the areas if any |
peers | the peers if any |
objects | the objects if any |
minutes | the minutes if any |
- Returns
- the string
◆ getXmlGenerator()
XmlSystemStatusGenerator eu.baltrad.beastui.web.controller.SupervisorController.getXmlGenerator |
( |
| ) |
|
|
inlineprotected |
- Returns
- a fresh xml generator instance
◆ isAuthorized()
boolean eu.baltrad.beastui.web.controller.SupervisorController.isAuthorized |
( |
HttpServletRequest | request | ) |
|
|
inlineprotected |
Returns if this request is allowed to be processed.
- Parameters
-
- Returns
- true if this request can be handled.
◆ supervisorStatus()
void eu.baltrad.beastui.web.controller.SupervisorController.supervisorStatus |
( |
@RequestParam(value="format", required=false) String | format, |
|
|
@RequestParam(value="reporters", required=false) String | reportersstr, |
|
|
@RequestParam(value="sources", required=false) String | sources, |
|
|
@RequestParam(value="areas", required=false) String | areas, |
|
|
@RequestParam(value="peers", required=false) String | peers, |
|
|
@RequestParam(value="objects", required=false) String | objects, |
|
|
@RequestParam(value="minutes", required=false) String | minutes, |
|
|
HttpServletRequest | request, |
|
|
HttpServletResponse | response ) |
|
inline |
The actual supervisor.htm interface for producing information to the user
- Parameters
-
format | |
system | |
radars | |
request | |
response | |
The documentation for this class was generated from the following file:
- src/java/eu/baltrad/beastui/web/controller/SupervisorController.java