|
class | RouteMapping |
| Container class for mapping between routes and rules.
|
|
◆ RouteCommandHelper()
eu.baltrad.beast.admin.RouteCommandHelper.RouteCommandHelper |
( |
| ) |
|
|
inline |
◆ afterPropertiesSet()
void eu.baltrad.beast.admin.RouteCommandHelper.afterPropertiesSet |
( |
| ) |
throws Exception |
|
inline |
◆ createRouteFromDefinition()
Creates a route from a route definition.
- Parameters
-
- Returns
- the route
◆ getRouteClass()
Class eu.baltrad.beast.admin.RouteCommandHelper.getRouteClass |
( |
String | key | ) |
|
|
inline |
Returns the actual class for the specified route name.
- Parameters
-
- Returns
- the class
◆ getRouteTypes()
List< String > eu.baltrad.beast.admin.RouteCommandHelper.getRouteTypes |
( |
| ) |
|
|
inline |
The currently supported route names.
- Returns
- the key set
◆ hasRouteMapping()
boolean eu.baltrad.beast.admin.RouteCommandHelper.hasRouteMapping |
( |
String | key | ) |
|
|
inline |
Returns if the route mappings exists or not.
- Parameters
-
- Returns
- if route exists or not
◆ newInstance()
Route eu.baltrad.beast.admin.RouteCommandHelper.newInstance |
( |
String | key | ) |
|
|
inline |
Creates a new instance of provided route.
- Parameters
-
- Returns
- the route
◆ setup()
void eu.baltrad.beast.admin.RouteCommandHelper.setup |
( |
Set< RouteMapping > | routes | ) |
|
|
inline |
Sets up a mapping.
- Parameters
-
◆ translateRouteTypesToRuleNames()
List< String > eu.baltrad.beast.admin.RouteCommandHelper.translateRouteTypesToRuleNames |
( |
List< String > | types | ) |
|
|
inline |
Returns a list of rule names from the route names.
- Parameters
-
- Returns
- a list of rule types
The documentation for this class was generated from the following file:
- src/eu/baltrad/beast/admin/RouteCommandHelper.java