@Controller @RequestMapping(value="/modules") public class ModulesController extends Object
| Constructor and Description |
|---|
ModulesController(ModuleService moduleService)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
controlFlow(String moduleName,
String flowName,
String action) |
String |
controlInitiator(String moduleName,
String flowName,
String startupType,
String startupComment)
Control the initiator (stop, start etc)
|
String |
deleteTrigger(String moduleName,
String flowName,
String flowElementName,
String triggerId,
org.springframework.ui.ModelMap model)
Delete a wiretap trigger
|
String |
listModules(org.springframework.ui.ModelMap model)
List the modules given a window (map)
|
void |
setJobAwareFlowEventListener(JobAwareFlowEventListener jobAwareFlowEventListener)
Set the job aware flow event listener
|
String |
viewFlow(String moduleName,
String flowName,
org.springframework.ui.ModelMap model)
View the flow
|
String |
viewFlowElement(String moduleName,
String flowName,
String flowElementName,
org.springframework.ui.ModelMap model)
View the flow element
|
String |
viewModule(String moduleName,
org.springframework.ui.ModelMap model)
View the module
|
@Autowired public ModulesController(ModuleService moduleService)
moduleService - - The module servicemonitor - - A moitor of module's flows@RequestMapping(value="list.htm") public String listModules(org.springframework.ui.ModelMap model)
model - - The window (map)@RequestMapping(value="view.htm") public String viewModule(@RequestParam(value="moduleName") String moduleName, org.springframework.ui.ModelMap model)
moduleName - - The name of the module to viewmodel - - The window@RequestMapping(value="viewFlow.htm") public String viewFlow(@RequestParam(value="moduleName") String moduleName, @RequestParam(value="flowName") String flowName, org.springframework.ui.ModelMap model)
moduleName - - The name of the moduleflowName - - The name of the flowmodel - - The window@RequestMapping(value="flowStartupControl.htm",
method=POST)
public String controlInitiator(@RequestParam(value="moduleName")
String moduleName,
@RequestParam(value="flowName")
String flowName,
@RequestParam(value="startupType",required=false)
String startupType,
@RequestParam(value="startupComment",required=false)
String startupComment)
moduleName - The name of the moduleinitiatorName - - The name of the initiatorinitiatorAction - - The controlling action for the initiatorException - - Exception if we cannot control the initiator@RequestMapping(value="flow.htm",
method=POST)
@PreAuthorize(value="hasAnyAuthority(\'ALL\',\'WriteBlueConsole\')")
public String controlFlow(@RequestParam(value="moduleName")
String moduleName,
@RequestParam(value="flowName")
String flowName,
@RequestParam(value="action")
String action)
moduleName - flowName - action - @RequestMapping(value="viewFlowElement.htm") public String viewFlowElement(@RequestParam(value="moduleName") String moduleName, @RequestParam(value="flowName") String flowName, @RequestParam(value="flowElementName") String flowElementName, org.springframework.ui.ModelMap model)
moduleName - - The name of the moduleflowName - - The name of the flowflowElementName - - The name of the flow elementmodel - - The window@RequestMapping(value="deleteTrigger.htm") public String deleteTrigger(@RequestParam(value="moduleName") String moduleName, @RequestParam(value="flowName") String flowName, @RequestParam(value="flowElementName") String flowElementName, @RequestParam(value="triggerId") String triggerId, org.springframework.ui.ModelMap model) throws Exception
moduleName - - The name of the moduleflowName - - The name of the flowflowElementName - - The name of the flow elementtriggerId - - The id of the trigger to deletemodel - - The windowException - - Exception if we fail to delete the trigger@Autowired public void setJobAwareFlowEventListener(JobAwareFlowEventListener jobAwareFlowEventListener)
jobAwareFlowEventListener - - The job aware flow event listener to setCopyright © 2007-2017 Ikasan. All Rights Reserved.