@TableName(value="REPOSITORY", name="\u4ed3\u5e93\u4fe1\u606f") public class RepositoryModel extends BaseWorkspaceModel
| Modifier and Type | Class and Description |
|---|---|
static class |
RepositoryModel.RepoType
仓库类型
|
| Constructor and Description |
|---|
RepositoryModel() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getProtocol()
返回协议类型,如果为 null 会尝试识别 http
|
Map<String,Object> |
toMap()
转换为 map
|
toStringtoJsonpublic Integer getProtocol()
GitProtocolEnumCopyright © 2017–2022. All rights reserved.