Enum MoSecurityQuestionsConstant.UserSecurityQuestionKey
- java.lang.Object
-
- java.lang.Enum<MoSecurityQuestionsConstant.UserSecurityQuestionKey>
-
- io.jenkins.plugins.twofactor.constants.MoSecurityQuestionsConstant.UserSecurityQuestionKey
-
- All Implemented Interfaces:
Serializable
,Comparable<MoSecurityQuestionsConstant.UserSecurityQuestionKey>
- Enclosing class:
- MoSecurityQuestionsConstant
public static enum MoSecurityQuestionsConstant.UserSecurityQuestionKey extends Enum<MoSecurityQuestionsConstant.UserSecurityQuestionKey>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getKey()
static MoSecurityQuestionsConstant.UserSecurityQuestionKey
valueOf(String name)
Returns the enum constant of this type with the specified name.static MoSecurityQuestionsConstant.UserSecurityQuestionKey[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER_FIRST_SECURITY_QUESTION
public static final MoSecurityQuestionsConstant.UserSecurityQuestionKey USER_FIRST_SECURITY_QUESTION
-
USER_SECOND_SECURITY_QUESTION
public static final MoSecurityQuestionsConstant.UserSecurityQuestionKey USER_SECOND_SECURITY_QUESTION
-
USER_CUSTOM_SECURITY_QUESTION
public static final MoSecurityQuestionsConstant.UserSecurityQuestionKey USER_CUSTOM_SECURITY_QUESTION
-
USER_FIRST_SECURITY_QUESTION_ANSWER
public static final MoSecurityQuestionsConstant.UserSecurityQuestionKey USER_FIRST_SECURITY_QUESTION_ANSWER
-
USER_SECOND_SECURITY_QUESTION_ANSWER
public static final MoSecurityQuestionsConstant.UserSecurityQuestionKey USER_SECOND_SECURITY_QUESTION_ANSWER
-
USER_CUSTOM_SECURITY_QUESTION_ANSWER
public static final MoSecurityQuestionsConstant.UserSecurityQuestionKey USER_CUSTOM_SECURITY_QUESTION_ANSWER
-
-
Method Detail
-
values
public static MoSecurityQuestionsConstant.UserSecurityQuestionKey[] 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 (MoSecurityQuestionsConstant.UserSecurityQuestionKey c : MoSecurityQuestionsConstant.UserSecurityQuestionKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MoSecurityQuestionsConstant.UserSecurityQuestionKey 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
-
getKey
public String getKey()
-
-