Package com.mapr.fs
Enum MapRFileAce.AccessType
- java.lang.Object
-
- java.lang.Enum<MapRFileAce.AccessType>
-
- com.mapr.fs.MapRFileAce.AccessType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MapRFileAce.AccessType>
- Enclosing class:
- MapRFileAce
public static enum MapRFileAce.AccessType extends java.lang.Enum<MapRFileAce.AccessType>
Access type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDCHILDAdd a new file/directory.DELETECHILDDelete a file/directory.EXECUTEFILEExecute a file.LOOKUPDIRLookup files in a directory.READDIRList a directory.READFILERead from a file.WRITEFILEWrite to a file.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.mapr.fs.proto.Common.FSAccessTypegetValue()static MapRFileAce.AccessTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MapRFileAce.AccessType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READFILE
public static final MapRFileAce.AccessType READFILE
Read from a file.
-
WRITEFILE
public static final MapRFileAce.AccessType WRITEFILE
Write to a file.
-
EXECUTEFILE
public static final MapRFileAce.AccessType EXECUTEFILE
Execute a file.
-
READDIR
public static final MapRFileAce.AccessType READDIR
List a directory.
-
ADDCHILD
public static final MapRFileAce.AccessType ADDCHILD
Add a new file/directory.
-
DELETECHILD
public static final MapRFileAce.AccessType DELETECHILD
Delete a file/directory.
-
LOOKUPDIR
public static final MapRFileAce.AccessType LOOKUPDIR
Lookup files in a directory.
-
-
Method Detail
-
values
public static MapRFileAce.AccessType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MapRFileAce.AccessType c : MapRFileAce.AccessType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MapRFileAce.AccessType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
public com.mapr.fs.proto.Common.FSAccessType getValue()
-
-