public static enum FileServerType.OPERATION extends Enum<FileServerType.OPERATION>
Modifier and Type | Field and Description |
---|---|
private static List<FileServerType.OPERATION> |
mGetOperations |
private static List<FileServerType.OPERATION> |
mPutOperations |
Modifier and Type | Method and Description |
---|---|
static Collection<FileServerType.OPERATION> |
operationsFor(FileServerType.OPERATION operation)
Returns a collection of operations corresponding to a get or put operation
|
static Collection<FileServerType.OPERATION> |
operationsForGET()
Returns a collection of get operations.
|
static Collection<FileServerType.OPERATION> |
operationsForPUT()
Returns a collection of get operations.
|
static FileServerType.OPERATION |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileServerType.OPERATION[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileServerType.OPERATION all
public static final FileServerType.OPERATION get
public static final FileServerType.OPERATION put
private static List<FileServerType.OPERATION> mGetOperations
private static List<FileServerType.OPERATION> mPutOperations
public static FileServerType.OPERATION[] values()
for (FileServerType.OPERATION c : FileServerType.OPERATION.values()) System.out.println(c);
public static FileServerType.OPERATION 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 nullpublic static Collection<FileServerType.OPERATION> operationsFor(FileServerType.OPERATION operation)
operation
- the operation for which all the operations are reqdpublic static Collection<FileServerType.OPERATION> operationsForGET()
public static Collection<FileServerType.OPERATION> operationsForPUT()