public static enum FSDirectory.DirOp extends Enum<FSDirectory.DirOp>
Enum Constant and Description |
---|
CREATE |
CREATE_LINK |
READ |
READ_LINK |
WRITE |
WRITE_LINK |
Modifier and Type | Method and Description |
---|---|
static FSDirectory.DirOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FSDirectory.DirOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FSDirectory.DirOp READ
public static final FSDirectory.DirOp READ_LINK
public static final FSDirectory.DirOp WRITE
public static final FSDirectory.DirOp WRITE_LINK
public static final FSDirectory.DirOp CREATE
public static final FSDirectory.DirOp CREATE_LINK
public static FSDirectory.DirOp[] values()
for (FSDirectory.DirOp c : FSDirectory.DirOp.values()) System.out.println(c);
public static FSDirectory.DirOp 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 © 2017 Apache Software Foundation. All Rights Reserved.