public static enum DomainPreview.DomainTypeEnum extends Enum<DomainPreview.DomainTypeEnum>
Modifier and Type | Class and Description |
---|---|
static class |
DomainPreview.DomainTypeEnum.Adapter |
Enum Constant and Description |
---|
HTTP_INBOX |
SMTP_DOMAIN |
Modifier and Type | Method and Description |
---|---|
static DomainPreview.DomainTypeEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static DomainPreview.DomainTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DomainPreview.DomainTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DomainPreview.DomainTypeEnum HTTP_INBOX
public static final DomainPreview.DomainTypeEnum SMTP_DOMAIN
public static DomainPreview.DomainTypeEnum[] values()
for (DomainPreview.DomainTypeEnum c : DomainPreview.DomainTypeEnum.values()) System.out.println(c);
public static DomainPreview.DomainTypeEnum 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 getValue()
public String toString()
toString
in class Enum<DomainPreview.DomainTypeEnum>
public static DomainPreview.DomainTypeEnum fromValue(String value)
Copyright © 2023. All rights reserved.