| Enum Constant | Description |
|---|---|
ALL |
|
EXECUTE |
|
NONE |
|
READ |
|
READ_EXECUTE |
|
READ_WRITE |
|
WRITE |
|
WRITE_EXECUTE |
| Modifier and Type | Field | Description |
|---|---|---|
java.lang.String |
SYMBOL |
Symbolic representation
|
| Modifier and Type | Method | Description |
|---|---|---|
FsAction |
and(FsAction that) |
AND operation.
|
static FsAction |
getFsAction(java.lang.String permission) |
Get the FsAction enum for String representation of permissions
|
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(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static FsAction[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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 static FsAction[] values()
for (FsAction c : FsAction.values()) System.out.println(c);
public static FsAction valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean implies(FsAction that)
that - FsAction that.public FsAction and(FsAction that)
that - FsAction that.public FsAction or(FsAction that)
that - FsAction that.public FsAction not()
public static FsAction getFsAction(java.lang.String permission)
permission - 3-character string representation of permission. ex: rwxCopyright © 2008–2025 Apache Software Foundation. All rights reserved.