Package com.vaadin.hilla.route.records
Class ClientViewConfig
java.lang.Object
com.vaadin.hilla.route.records.ClientViewConfig
Implementation of TypeScript's Hilla ConfigView. Represents a view
configuration from Hilla file-system-routing module.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a key-value pair for all unknown fields.booleangetOther()Get all unknown values.String[]getRoute()getTitle()inthashCode()booleanbooleanisLazy()booleanmenu()voidsetAutoRegistered(boolean autoRegistered) voidsetChildren(List<ClientViewConfig> children) voidsetLazy(boolean lazy) voidsetLoginRequired(boolean loginRequired) voidsetMenu(ClientViewMenuConfig menu) voidsetParent(ClientViewConfig parent) voidsetRolesAllowed(String[] rolesAllowed) voidvoidsetRouteParameters(Map<String, RouteParamType> routeParameters) voidtoString()
-
Constructor Details
-
ClientViewConfig
public ClientViewConfig()
-
-
Method Details
-
add
Add a key-value pair for all unknown fields.- Parameters:
key- - the keyvalue- - the value
-
getOther
Get all unknown values.- Returns:
- a map of unknown values
-
getTitle
-
getRolesAllowed
-
isLoginRequired
public boolean isLoginRequired() -
getRoute
-
isLazy
public boolean isLazy() -
isAutoRegistered
public boolean isAutoRegistered() -
getChildren
-
getRouteParameters
-
getParent
-
setParent
-
setTitle
-
setRolesAllowed
-
setLoginRequired
public void setLoginRequired(boolean loginRequired) -
setRoute
-
setLazy
public void setLazy(boolean lazy) -
setAutoRegistered
public void setAutoRegistered(boolean autoRegistered) -
setMenu
-
setChildren
-
setRouteParameters
-
toString
-
equals
-
hashCode
public int hashCode()
-