public static enum Project.ProjectType extends Enum<Project.ProjectType>
| Enum Constant and Description |
|---|
external
映射到 Odps 的外部项目,例如 hive
|
managed
普通 Odps 项目
|
| Modifier and Type | Method and Description |
|---|---|
static Project.ProjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Project.ProjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Project.ProjectType managed
public static final Project.ProjectType external
public static Project.ProjectType[] values()
for (Project.ProjectType c : Project.ProjectType.values()) System.out.println(c);
public static Project.ProjectType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022 Alibaba Cloud Computing. All rights reserved.