Package org.openstack4j.model.manila
Enum Share.Protocol
- java.lang.Object
-
- java.lang.Enum<Share.Protocol>
-
- org.openstack4j.model.manila.Share.Protocol
-
- All Implemented Interfaces:
Serializable,Comparable<Share.Protocol>
- Enclosing interface:
- Share
public static enum Share.Protocol extends Enum<Share.Protocol>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Share.ProtocolvalueOf(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.
-
-
-
Enum Constant Detail
-
NFS
public static final Share.Protocol NFS
-
CIFS
public static final Share.Protocol CIFS
-
GlusterFS
public static final Share.Protocol GlusterFS
-
HDFS
public static final Share.Protocol HDFS
-
-
Method Detail
-
values
public static Share.Protocol[] 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 (Share.Protocol c : Share.Protocol.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Share.Protocol 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 nameNullPointerException- if the argument is null
-
-