public enum DeviceAccessProtocol extends Enum<DeviceAccessProtocol>
Modifier and Type | Method and Description |
---|---|
static DeviceAccessProtocol |
get(String value) |
String |
toString() |
String |
value() |
static DeviceAccessProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceAccessProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceAccessProtocol HTTP
public static final DeviceAccessProtocol HTTPS
public static final DeviceAccessProtocol FTP
public static DeviceAccessProtocol[] values()
for (DeviceAccessProtocol c : DeviceAccessProtocol.values()) System.out.println(c);
public static DeviceAccessProtocol 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 nullpublic String value()
public String toString()
toString
in class Enum<DeviceAccessProtocol>
public static DeviceAccessProtocol get(String value)
Copyright © 2016 ECG, Inc. All rights reserved.