public static enum Share.Protocol extends Enum<Share.Protocol>
Modifier and Type | Method and Description |
---|---|
static Share.Protocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Share.Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Share.Protocol NFS
public static final Share.Protocol CIFS
public static final Share.Protocol GlusterFS
public static final Share.Protocol HDFS
public static Share.Protocol[] values()
for (Share.Protocol c : Share.Protocol.values()) System.out.println(c);
public static Share.Protocol 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 © 2017. All rights reserved.