public static enum Permissions.Role extends java.lang.Enum<Permissions.Role>
USER
role is active
when the contents of Details.getOwner()
equals the current user
as determined from the Security system (Server-side only). Similarly, the
GROUP
role is active when the contents of
Details.getGroup()
matches the current group. WORLD
is
used for any non-USER, non-GROUP user.
For more advanced, ACL, methods taking
Experimenter
references can be implemented.修飾子とタイプ | メソッドと説明 |
---|---|
static Permissions.Role |
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static Permissions.Role[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final Permissions.Role USER
public static final Permissions.Role GROUP
public static final Permissions.Role WORLD
public static Permissions.Role[] values()
for(Permissions.Role c: Permissions.Role.values()) System.out.println(c);
public static Permissions.Role valueOf(java.lang.String name)
name
- 返される列挙型定数の名前。java.lang.IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合java.lang.NullPointerException
- 引数がnullの場合