We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.copilot.
Package com.vaadin.copilot
Class RouteCreator
java.lang.Object
com.vaadin.copilot.RouteCreator
Handles creation of views for new routes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
createFlowView
(String route, AccessRequirement accessRequirement) Creates a Flow view for the given route using the given access requirement.
void
createHillaView
(String route, AccessRequirement accessRequirement) Creates a Hilla view for the given route using the given access requirement.
-
Constructor Details
-
RouteCreator
-
-
Method Details
-
createFlowView
Creates a Flow view for the given route using the given access requirement.
Parameters:
route
- the path to create a view foraccessRequirement
- the access requirement for the viewThrows:
-
createHillaView
Creates a Hilla view for the given route using the given access requirement.
Parameters:
route
- the path to create a view foraccessRequirement
- the access requirement for the viewThrows:
-