public enum CannedUdfAcl extends Enum<CannedUdfAcl>
枚举常量和说明 |
---|
Private
Only the owner has the access.
|
Public
All users have the access, not recommended.
|
限定符和类型 | 方法和说明 |
---|---|
static CannedUdfAcl |
parse(String acl) |
String |
toString() |
static CannedUdfAcl |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static CannedUdfAcl[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final CannedUdfAcl Private
public static final CannedUdfAcl Public
public static CannedUdfAcl[] values()
for (CannedUdfAcl c : CannedUdfAcl.values()) System.out.println(c);
public static CannedUdfAcl valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值public String toString()
toString
在类中 Enum<CannedUdfAcl>
public static CannedUdfAcl parse(String acl)
Copyright © 2019. All Rights Reserved.