public enum ZFSType extends Enum<ZFSType>
ZFSObject.zfs_type_t| Enum Constant and Description |
|---|
FILESYSTEM
A ZFS dataset of type "filesystem" that can be mounted
within the standard system namespace and behaves like
other file systems.
|
SNAPSHOT
A read-only version of a file system or volume at a
given point in time.
|
VOLUME
A logical volume exported as a raw or block device.
|
| Modifier and Type | Field and Description |
|---|---|
int |
code |
Class<? extends ZFSObject> |
type |
| Modifier and Type | Method and Description |
|---|---|
static ZFSType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZFSType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZFSType FILESYSTEM
public static final ZFSType SNAPSHOT
public static final ZFSType VOLUME
public static ZFSType[] values()
for (ZFSType c : ZFSType.values()) System.out.println(c);
public static ZFSType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2008–2017. All rights reserved.