Enum DNSType
- java.lang.Object
-
- java.lang.Enum<DNSType>
-
- de.dytanic.cloudnet.ext.cloudflare.dns.DNSType
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DNSTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DNSType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
A
public static final DNSType A
-
AAAA
public static final DNSType AAAA
-
CNAME
public static final DNSType CNAME
-
MX
public static final DNSType MX
-
LOC
public static final DNSType LOC
-
SRV
public static final DNSType SRV
-
SPF
public static final DNSType SPF
-
TXT
public static final DNSType TXT
-
NS
public static final DNSType NS
-
CAA
public static final DNSType CAA
-
-
Method Detail
-
values
public static DNSType[] 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 (DNSType c : DNSType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DNSType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-