org.jvnet.solaris.libzfs.jna
Enum zpool_prop_t

java.lang.Object
  extended by java.lang.Enum<zpool_prop_t>
      extended by org.jvnet.solaris.libzfs.jna.zpool_prop_t
All Implemented Interfaces:
Serializable, Comparable<zpool_prop_t>

public enum zpool_prop_t
extends Enum<zpool_prop_t>

Author:
Kohsuke Kawaguchi

Enum Constant Summary
ZPOOL_NUM_PROPS
           
ZPOOL_PROP_ALTROOT
           
ZPOOL_PROP_AUTOREPLACE
           
ZPOOL_PROP_AVAILABLE
           
ZPOOL_PROP_BOOTFS
           
ZPOOL_PROP_CACHEFILE
           
ZPOOL_PROP_CAPACITY
           
ZPOOL_PROP_DELEGATION
           
ZPOOL_PROP_FAILUREMODE
           
ZPOOL_PROP_GUID
           
ZPOOL_PROP_HEALTH
           
ZPOOL_PROP_NAME
           
ZPOOL_PROP_SIZE
           
ZPOOL_PROP_USED
           
ZPOOL_PROP_VERSION
           
 
Method Summary
static zpool_prop_t valueOf(String name)
          Returns the enum constant of this type with the specified name.
static zpool_prop_t[] 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

ZPOOL_PROP_NAME

public static final zpool_prop_t ZPOOL_PROP_NAME

ZPOOL_PROP_SIZE

public static final zpool_prop_t ZPOOL_PROP_SIZE

ZPOOL_PROP_USED

public static final zpool_prop_t ZPOOL_PROP_USED

ZPOOL_PROP_AVAILABLE

public static final zpool_prop_t ZPOOL_PROP_AVAILABLE

ZPOOL_PROP_CAPACITY

public static final zpool_prop_t ZPOOL_PROP_CAPACITY

ZPOOL_PROP_ALTROOT

public static final zpool_prop_t ZPOOL_PROP_ALTROOT

ZPOOL_PROP_HEALTH

public static final zpool_prop_t ZPOOL_PROP_HEALTH

ZPOOL_PROP_GUID

public static final zpool_prop_t ZPOOL_PROP_GUID

ZPOOL_PROP_VERSION

public static final zpool_prop_t ZPOOL_PROP_VERSION

ZPOOL_PROP_BOOTFS

public static final zpool_prop_t ZPOOL_PROP_BOOTFS

ZPOOL_PROP_DELEGATION

public static final zpool_prop_t ZPOOL_PROP_DELEGATION

ZPOOL_PROP_AUTOREPLACE

public static final zpool_prop_t ZPOOL_PROP_AUTOREPLACE

ZPOOL_PROP_CACHEFILE

public static final zpool_prop_t ZPOOL_PROP_CACHEFILE

ZPOOL_PROP_FAILUREMODE

public static final zpool_prop_t ZPOOL_PROP_FAILUREMODE

ZPOOL_NUM_PROPS

public static final zpool_prop_t ZPOOL_NUM_PROPS
Method Detail

values

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

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

valueOf

public static zpool_prop_t 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


Copyright © 2012. All Rights Reserved.