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