| 程序包 | 说明 |
|---|---|
| com.yindangu.v3.plugin.vds.reg.api.builder | |
| com.yindangu.v3.plugin.vds.reg.common |
| 限定符和类型 | 方法和说明 |
|---|---|
IComponentProfileBuilder |
IComponentProfileBuilder.setCode(String code)
项目的唯一标识
|
IComponentProfileBuilder |
IComponentProfileBuilder.setGroupId(String groupId)
设置构件的项目组织唯一标识
|
IComponentProfileBuilder |
IComponentProfileBuilder.setVersion(String version)
设置构件版本,如果不设置,则默认为1.0.0
如果都是用maven打包的情况是可以在pom.xml获取版本信息,但如果不是maven打包就取不到
考虑到开发环境是开放的原则所以就需要手工填写(setCode(String)也是一样道理) |
| 限定符和类型 | 方法和说明 |
|---|---|
IComponentProfileBuilder |
PluginFactory.getComponentProfile()
获取构件包构造器
|
Copyright © 2021. All rights reserved.