public class RouteAliasData extends RouteBaseData<RouteAliasData>
Only for read as data is immutable.
Constructor and Description |
---|
RouteAliasData(List<Class<? extends RouterLayout>> parentLayouts,
String template,
List<Class<?>> parameters,
Class<? extends Component> navigationTarget)
AliasData constructor.
|
RouteAliasData(List<Class<? extends RouterLayout>> parentLayouts,
String template,
Map<String,RouteParameterData> parameters,
Class<? extends Component> navigationTarget)
AliasData constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
compareTo, getNavigationTarget, getParameters, getParentLayout, getParentLayouts, getRouteParameters, getTemplate, getUrl
public RouteAliasData(List<Class<? extends RouterLayout>> parentLayouts, String template, List<Class<?>> parameters, Class<? extends Component> navigationTarget)
IllegalArgumentException
is raised.parentLayouts
- route parent layout class chaintemplate
- full route templateparameters
- supports only null or empty list. If a non empty list is
passed and IllegalArgumentException
is raised.navigationTarget
- route navigation targetIllegalArgumentException
- if parameters is not empty.public RouteAliasData(List<Class<? extends RouterLayout>> parentLayouts, String template, Map<String,RouteParameterData> parameters, Class<? extends Component> navigationTarget)
parentLayouts
- route parent layout class chaintemplate
- full route templateparameters
- navigation target path parametersnavigationTarget
- route navigation targetpublic boolean equals(Object obj)
equals
in class RouteBaseData<RouteAliasData>
public int hashCode()
hashCode
in class RouteBaseData<RouteAliasData>
Copyright © 2023. All rights reserved.