|
void | setManager (IRouterManager manager) |
|
String | testRoute (Model model, @RequestParam(value="jsonTestFilter", required=false) String jsonTestFilter, @RequestParam(value="testType", required=false) String testType, @RequestParam(value="destination", required=false) String destination, @RequestParam(value="namingTemplate", required=false) String namingTemplate, @RequestParam(value="datafile", required=false) MultipartFile datafile) |
|
String | distributionRoute (Model model, @RequestParam(value="name", required=false) String name, @RequestParam(value="author", required=false) String author, @RequestParam(value="active", required=false) Boolean active, @RequestParam(value="description", required=false) String description, @RequestParam(value="destination", required=false) String destination, @RequestParam(value="namingTemplate", required=false) String namingTemplate, @RequestParam(value="filterJson", required=false) String filterJson, @RequestParam(value="datafile", required=false) MultipartFile datafile, @RequestParam(value="submitButton", required=false) String opString) |
|
void | setDatabase (Database database) |
|
|
void | copyInputStreamToFile (InputStream src, File dst) |
|
String | addRoute (Model model, RouteDefinition routeDef, String destination, String namingTemplate, String filterJson) |
|
String | deleteRoute (Model model, String name) |
|
String | modifyRoute (Model model, RouteDefinition routeDef, String destination, String namingTemplate, String filterJson) |
|
String | viewShowRoute (Model model, RouteDefinition route, String destination, String namingTemplate, String filterJson, String emessage) |
|
String | viewShowRoutes (Model model, String emessage) |
|
RouteDefinition | createRoute (String name, String author, Boolean active, String description) |
|
DistributionRule | createRule (String destination, String namingTemplate, String filterJson) |
|
void | validateDefinition (RouteDefinition route) |
|
void | setObjectMapper (ObjectMapper mapper) |
|
void | setMetadataMatcher (MetadataMatcher matcher) |
|
Manages DistributionRule instances
◆ createRoute()
RouteDefinition eu.baltrad.beastui.web.controller.DistributionRoutesController.createRoute |
( |
String | name, |
|
|
String | author, |
|
|
Boolean | active, |
|
|
String | description ) |
|
inlineprotected |
create a RouteDefinition instance.
- Parameters
-
name | name of the route |
author | author of the route |
active | is the route active |
description | description of the route |
◆ createRule()
DistributionRule eu.baltrad.beastui.web.controller.DistributionRoutesController.createRule |
( |
String | destination, |
|
|
String | namingTemplate, |
|
|
String | filterJson ) |
|
inlineprotected |
create a DistributionRule instance.
- Parameters
-
destination | the destination URI |
filterJson | JSON string of the filter |
- Exceptions
-
RuleException | if the rule can't be created |
- Returns
- the created instance
◆ setManager()
void eu.baltrad.beastui.web.controller.DistributionRoutesController.setManager |
( |
IRouterManager | manager | ) |
|
|
inline |
Set the router manager instance
◆ viewShowRoute()
String eu.baltrad.beastui.web.controller.DistributionRoutesController.viewShowRoute |
( |
Model | model, |
|
|
RouteDefinition | route, |
|
|
String | destination, |
|
|
String | namingTemplate, |
|
|
String | filterJson, |
|
|
String | emessage ) |
|
inlineprotected |
Show the distributionroute view
◆ viewShowRoutes()
String eu.baltrad.beastui.web.controller.DistributionRoutesController.viewShowRoutes |
( |
Model | model, |
|
|
String | emessage ) |
|
inlineprotected |
Shows the routes view
- Parameters
-
model | the model |
emessage | the error message if any |
- Returns
- "showroutes"
The documentation for this class was generated from the following file:
- src/java/eu/baltrad/beastui/web/controller/DistributionRoutesController.java