public class Project extends LazyLoad
| Modifier and Type | Class and Description |
|---|---|
static class |
Project.Cluster |
static class |
Project.ExternalProjectProperties |
static class |
Project.ProjectType
项目类型
|
static class |
Project.Status
项目空间状态
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getAllProperties()
获取 Project 全部可配置的属性, 包含从 group 继承来的配置信息
|
String |
getComment()
获取Project注释
|
Date |
getCreatedTime()
获取Project创建时间
|
Map<String,String> |
getExtendedProperties()
获取 Project 扩展配置信息
|
Date |
getLastModifiedTime()
获取Project最后修改时间
|
String |
getName()
获取Project名称
|
String |
getOwner()
获得Project所属用户
|
Map<String,String> |
getProperties()
获取 Project 已配置的属性
|
String |
getProperty(String key)
查询Project指定配置信息
|
SecurityManager |
getSecurityManager()
获取
SecurityManager对象 |
Project.Status |
getStatus()
获取Project当前状态
|
String |
getTunnelEndpoint() |
Project.ProjectType |
getType()
获取Project类型
|
void |
reload()
重新加载属性值
|
public void reload()
throws OdpsException
LazyLoadreload in class LazyLoadOdpsExceptionpublic String getName()
public Project.ProjectType getType() throws OdpsException
OdpsExceptionpublic String getComment()
public String getOwner()
public Date getCreatedTime()
public Date getLastModifiedTime()
public Project.Status getStatus()
Project.Statuspublic Map<String,String> getProperties()
public Map<String,String> getAllProperties() throws OdpsException
OdpsExceptionpublic String getProperty(String key)
key - 配置项public Map<String,String> getExtendedProperties() throws OdpsException
OdpsExceptionpublic SecurityManager getSecurityManager()
SecurityManager对象SecurityManager对象public String getTunnelEndpoint() throws OdpsException
OdpsExceptionCopyright © 2022 Alibaba Cloud Computing. All rights reserved.