public static enum FileServerType.OPERATION extends java.lang.Enum<FileServerType.OPERATION>
Modifier and Type | Field and Description |
---|---|
private static java.util.List<FileServerType.OPERATION> |
mGetOperations |
private static java.util.List<FileServerType.OPERATION> |
mPutOperations |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<FileServerType.OPERATION> |
operationsFor(FileServerType.OPERATION operation)
Returns a collection of operations corresponding to a get or put operation
|
static java.util.Collection<FileServerType.OPERATION> |
operationsForGET()
Returns a collection of get operations.
|
static java.util.Collection<FileServerType.OPERATION> |
operationsForPUT()
Returns a collection of get operations.
|
static FileServerType.OPERATION |
valueOf(java.lang.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 java.util.List<FileServerType.OPERATION> mGetOperations
private static java.util.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(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 static java.util.Collection<FileServerType.OPERATION> operationsFor(FileServerType.OPERATION operation)
operation
- the operation for which all the operations are reqdpublic static java.util.Collection<FileServerType.OPERATION> operationsForGET()
public static java.util.Collection<FileServerType.OPERATION> operationsForPUT()