org.apache.hadoop.nfs.nfs3
Enum Nfs3Constant.NFSPROC3

java.lang.Object
  extended by java.lang.Enum<Nfs3Constant.NFSPROC3>
      extended by org.apache.hadoop.nfs.nfs3.Nfs3Constant.NFSPROC3
All Implemented Interfaces:
Serializable, Comparable<Nfs3Constant.NFSPROC3>
Enclosing class:
Nfs3Constant

public static enum Nfs3Constant.NFSPROC3
extends Enum<Nfs3Constant.NFSPROC3>


Enum Constant Summary
ACCESS
           
COMMIT
           
CREATE
           
FSINFO
           
FSSTAT
           
GETATTR
           
LINK
           
LOOKUP
           
MKDIR
           
MKNOD
           
NULL
           
PATHCONF
           
READ
           
READDIR
           
READDIRPLUS
           
READLINK
           
REMOVE
           
RENAME
           
RMDIR
           
SETATTR
           
SYMLINK
           
WRITE
           
 
Method Summary
static Nfs3Constant.NFSPROC3 fromValue(int value)
           
 int getValue()
           
 boolean isIdempotent()
           
static Nfs3Constant.NFSPROC3 valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Nfs3Constant.NFSPROC3[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NULL

public static final Nfs3Constant.NFSPROC3 NULL

GETATTR

public static final Nfs3Constant.NFSPROC3 GETATTR

SETATTR

public static final Nfs3Constant.NFSPROC3 SETATTR

LOOKUP

public static final Nfs3Constant.NFSPROC3 LOOKUP

ACCESS

public static final Nfs3Constant.NFSPROC3 ACCESS

READLINK

public static final Nfs3Constant.NFSPROC3 READLINK

READ

public static final Nfs3Constant.NFSPROC3 READ

WRITE

public static final Nfs3Constant.NFSPROC3 WRITE

CREATE

public static final Nfs3Constant.NFSPROC3 CREATE

MKDIR

public static final Nfs3Constant.NFSPROC3 MKDIR

SYMLINK

public static final Nfs3Constant.NFSPROC3 SYMLINK

MKNOD

public static final Nfs3Constant.NFSPROC3 MKNOD

REMOVE

public static final Nfs3Constant.NFSPROC3 REMOVE

RMDIR

public static final Nfs3Constant.NFSPROC3 RMDIR

RENAME

public static final Nfs3Constant.NFSPROC3 RENAME

LINK

public static final Nfs3Constant.NFSPROC3 LINK

READDIR

public static final Nfs3Constant.NFSPROC3 READDIR

READDIRPLUS

public static final Nfs3Constant.NFSPROC3 READDIRPLUS

FSSTAT

public static final Nfs3Constant.NFSPROC3 FSSTAT

FSINFO

public static final Nfs3Constant.NFSPROC3 FSINFO

PATHCONF

public static final Nfs3Constant.NFSPROC3 PATHCONF

COMMIT

public static final Nfs3Constant.NFSPROC3 COMMIT
Method Detail

values

public static Nfs3Constant.NFSPROC3[] 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 (Nfs3Constant.NFSPROC3 c : Nfs3Constant.NFSPROC3.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Nfs3Constant.NFSPROC3 valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

isIdempotent

public boolean isIdempotent()

getValue

public int getValue()
Returns:
the int value representing the procedure.

fromValue

public static Nfs3Constant.NFSPROC3 fromValue(int value)
Returns:
the procedure corresponding to the value.


Copyright © 2014 Apache Software Foundation. All Rights Reserved.