Utility factory used by router to create routes.

Kind: global class

routeFactory.createRoute(name, pathExpression, controller, view, options) ⇒ Route 

Create new instance of ima.core.router.Route.

Kind: instance method of RouteFactory
Returns: Route - The constructed route.

Param Type Description
name string The unique name of this route, identifying it among the rest of the routes in the application.
pathExpression string A path expression specifying the URL path part matching this route (must not contain a query string), optionally containing named parameter placeholders specified as :parameterName.
controller string The full name of Object Container alias identifying the controller associated with this route.
view string The full name or Object Container alias identifying the view class associated with this route.
options Object The route additional options.