public enum FsAction extends Enum<FsAction>
枚举常量和说明 |
---|
ALL |
EXECUTE |
NONE |
READ |
READ_EXECUTE |
READ_WRITE |
WRITE |
WRITE_EXECUTE |
限定符和类型 | 方法和说明 |
---|---|
FsAction |
and(FsAction that)
AND operation.
|
boolean |
implies(FsAction that)
Return true if this action implies that action.
|
FsAction |
not()
NOT operation.
|
FsAction |
or(FsAction that)
OR operation.
|
static FsAction |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static FsAction[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final FsAction NONE
public static final FsAction EXECUTE
public static final FsAction WRITE
public static final FsAction WRITE_EXECUTE
public static final FsAction READ
public static final FsAction READ_EXECUTE
public static final FsAction READ_WRITE
public static final FsAction ALL
public final String SYMBOL
public static FsAction[] values()
for (FsAction c : FsAction.values()) System.out.println(c);
public static FsAction valueOf(String name)
name
- 要返回的枚举常量的名称。public boolean implies(FsAction that)
that
- public FsAction not()
Copyright © 2009 The Apache Software Foundation