public class RouterBean extends Object
Author: Simon
QO: 8950764
Email: simon@cmonbaby.com
WebSize: https://www.cmonbaby.com
Version: 1.0.0
Date: 2020/12/28
Description: 路由路径Path的最终实体封装类
比如:app分组中的MainActivity对象,这个对象有更多的属性
| 限定符和类型 | 类和说明 |
|---|---|
static class |
RouterBean.Builder
构建者模式
|
static class |
RouterBean.Type |
| 限定符和类型 | 方法和说明 |
|---|---|
static RouterBean |
create(RouterBean.Type type,
Class<?> clazz,
String path,
String group) |
Class<?> |
getClazz() |
Element |
getElement() |
String |
getGroup() |
String |
getPath() |
RouterBean.Type |
getType() |
void |
setGroup(String group) |
void |
setPath(String path) |
void |
setType(RouterBean.Type type) |
String |
toString() |
public static RouterBean create(RouterBean.Type type, Class<?> clazz, String path, String group)
public RouterBean.Type getType()
public void setType(RouterBean.Type type)
public Element getElement()
public Class<?> getClazz()
public String getPath()
public void setPath(String path)
public String getGroup()
public void setGroup(String group)