public enum AccountType extends Enum<AccountType>
| Enum Constant and Description |
|---|
CLOUD |
SELF_HOSTED |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue()
Returns the value of type
|
static AccountType |
ofValue(String value)
Returns enum account type from its value
|
String |
toString()
Returns the value of type
|
static AccountType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccountType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountType CLOUD
public static final AccountType SELF_HOSTED
public static AccountType[] values()
for (AccountType c : AccountType.values()) System.out.println(c);
public static AccountType 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 static AccountType ofValue(String value)
value - value of enum typepublic String getValue()
public String toString()
toString in class Enum<AccountType>Copyright © 2021. All rights reserved.