org.apache.hadoop.mount
Enum MountInterface.MNTPROC
java.lang.Object
java.lang.Enum<MountInterface.MNTPROC>
org.apache.hadoop.mount.MountInterface.MNTPROC
- All Implemented Interfaces:
- Serializable, Comparable<MountInterface.MNTPROC>
- Enclosing interface:
- MountInterface
public static enum MountInterface.MNTPROC
- extends Enum<MountInterface.MNTPROC>
Mount procedures
NULL
public static final MountInterface.MNTPROC NULL
MNT
public static final MountInterface.MNTPROC MNT
DUMP
public static final MountInterface.MNTPROC DUMP
UMNT
public static final MountInterface.MNTPROC UMNT
UMNTALL
public static final MountInterface.MNTPROC UMNTALL
EXPORT
public static final MountInterface.MNTPROC EXPORT
EXPORTALL
public static final MountInterface.MNTPROC EXPORTALL
PATHCONF
public static final MountInterface.MNTPROC PATHCONF
values
public static MountInterface.MNTPROC[] 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 (MountInterface.MNTPROC c : MountInterface.MNTPROC.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MountInterface.MNTPROC 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()
- Returns:
- the int value representing the procedure.
fromValue
public static MountInterface.MNTPROC fromValue(int value)
- Returns:
- the procedure corresponding to the value.
Copyright © 2014 Apache Software Foundation. All Rights Reserved.