Enum ChallengeData.OtpFormat
- java.lang.Object
-
- java.lang.Enum<ChallengeData.OtpFormat>
-
- de.adorsys.xs2a.adapter.api.model.ChallengeData.OtpFormat
-
- All Implemented Interfaces:
Serializable,Comparable<ChallengeData.OtpFormat>
- Enclosing class:
- ChallengeData
public static enum ChallengeData.OtpFormat extends Enum<ChallengeData.OtpFormat>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHARACTERSINTEGER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChallengeData.OtpFormatfromValue(String value)StringtoString()static ChallengeData.OtpFormatvalueOf(String name)Returns the enum constant of this type with the specified name.static ChallengeData.OtpFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHARACTERS
public static final ChallengeData.OtpFormat CHARACTERS
-
INTEGER
public static final ChallengeData.OtpFormat INTEGER
-
-
Method Detail
-
values
public static ChallengeData.OtpFormat[] 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 (ChallengeData.OtpFormat c : ChallengeData.OtpFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChallengeData.OtpFormat valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromValue
public static ChallengeData.OtpFormat fromValue(String value)
-
toString
public String toString()
- Overrides:
toStringin classEnum<ChallengeData.OtpFormat>
-
-