public static enum ChallengeData.OtpFormatEnum extends Enum<ChallengeData.OtpFormatEnum>
Enum Constant and Description |
---|
CHARACTERS |
INTEGER |
Modifier and Type | Method and Description |
---|---|
static ChallengeData.OtpFormatEnum |
fromValue(String text) |
String |
toString() |
static ChallengeData.OtpFormatEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChallengeData.OtpFormatEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChallengeData.OtpFormatEnum CHARACTERS
public static final ChallengeData.OtpFormatEnum INTEGER
public static ChallengeData.OtpFormatEnum[] values()
for (ChallengeData.OtpFormatEnum c : ChallengeData.OtpFormatEnum.values()) System.out.println(c);
public static ChallengeData.OtpFormatEnum 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<ChallengeData.OtpFormatEnum>
public static ChallengeData.OtpFormatEnum fromValue(String text)
Copyright © 2020. All rights reserved.