org.apache.hadoop.portmap
Enum PortmapInterface.Procedure

java.lang.Object
  extended by java.lang.Enum<PortmapInterface.Procedure>
      extended by org.apache.hadoop.portmap.PortmapInterface.Procedure
All Implemented Interfaces:
Serializable, Comparable<PortmapInterface.Procedure>
Enclosing interface:
PortmapInterface

public static enum PortmapInterface.Procedure
extends Enum<PortmapInterface.Procedure>


Enum Constant Summary
PMAPPROC_CALLIT
           
PMAPPROC_DUMP
           
PMAPPROC_GETADDRLIST
           
PMAPPROC_GETPORT
           
PMAPPROC_GETSTAT
           
PMAPPROC_GETTIME
           
PMAPPROC_GETVERSADDR
           
PMAPPROC_INDIRECT
           
PMAPPROC_NULL
           
PMAPPROC_SET
           
PMAPPROC_TADDR2UADDR
           
PMAPPROC_UADDR2TADDR
           
PMAPPROC_UNSET
           
 
Method Summary
static PortmapInterface.Procedure fromValue(int value)
           
 int getValue()
           
static PortmapInterface.Procedure valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PortmapInterface.Procedure[] 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

PMAPPROC_NULL

public static final PortmapInterface.Procedure PMAPPROC_NULL

PMAPPROC_SET

public static final PortmapInterface.Procedure PMAPPROC_SET

PMAPPROC_UNSET

public static final PortmapInterface.Procedure PMAPPROC_UNSET

PMAPPROC_GETPORT

public static final PortmapInterface.Procedure PMAPPROC_GETPORT

PMAPPROC_DUMP

public static final PortmapInterface.Procedure PMAPPROC_DUMP

PMAPPROC_CALLIT

public static final PortmapInterface.Procedure PMAPPROC_CALLIT

PMAPPROC_GETTIME

public static final PortmapInterface.Procedure PMAPPROC_GETTIME

PMAPPROC_UADDR2TADDR

public static final PortmapInterface.Procedure PMAPPROC_UADDR2TADDR

PMAPPROC_TADDR2UADDR

public static final PortmapInterface.Procedure PMAPPROC_TADDR2UADDR

PMAPPROC_GETVERSADDR

public static final PortmapInterface.Procedure PMAPPROC_GETVERSADDR

PMAPPROC_INDIRECT

public static final PortmapInterface.Procedure PMAPPROC_INDIRECT

PMAPPROC_GETADDRLIST

public static final PortmapInterface.Procedure PMAPPROC_GETADDRLIST

PMAPPROC_GETSTAT

public static final PortmapInterface.Procedure PMAPPROC_GETSTAT
Method Detail

values

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

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

valueOf

public static PortmapInterface.Procedure 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

getValue

public int getValue()

fromValue

public static PortmapInterface.Procedure fromValue(int value)


Copyright © 2009 The Apache Software Foundation