Enum JenkinsGeneralConfig.AUTHORIZATION_TYPE
- java.lang.Object
-
- java.lang.Enum<JenkinsGeneralConfig.AUTHORIZATION_TYPE>
-
- io.jenkins.plugins.propelo.commons.models.jenkins.output.JenkinsGeneralConfig.AUTHORIZATION_TYPE
-
- All Implemented Interfaces:
Serializable
,Comparable<JenkinsGeneralConfig.AUTHORIZATION_TYPE>
- Enclosing class:
- JenkinsGeneralConfig
public static enum JenkinsGeneralConfig.AUTHORIZATION_TYPE extends Enum<JenkinsGeneralConfig.AUTHORIZATION_TYPE>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANYONE_CAN_DO_ANYTHING
LEGACY_MODE
LOGGED_IN_USERS_CAN_DO_ANYTHING
MATRIX_BASED_SECURITY
OTHER
PROJECT_BASED_MATRIX_AUTHORIZATION_STRATEGY
ROLE_BASED_STRATEGY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHumanReadableText()
Pattern
getPattern()
static Boolean
isSecure(JenkinsGeneralConfig.AUTHORIZATION_TYPE authorizationType)
static JenkinsGeneralConfig.AUTHORIZATION_TYPE
parseAuthorization(String input)
static JenkinsGeneralConfig.AUTHORIZATION_TYPE
valueOf(String name)
Returns the enum constant of this type with the specified name.static JenkinsGeneralConfig.AUTHORIZATION_TYPE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANYONE_CAN_DO_ANYTHING
public static final JenkinsGeneralConfig.AUTHORIZATION_TYPE ANYONE_CAN_DO_ANYTHING
-
LEGACY_MODE
public static final JenkinsGeneralConfig.AUTHORIZATION_TYPE LEGACY_MODE
-
LOGGED_IN_USERS_CAN_DO_ANYTHING
public static final JenkinsGeneralConfig.AUTHORIZATION_TYPE LOGGED_IN_USERS_CAN_DO_ANYTHING
-
MATRIX_BASED_SECURITY
public static final JenkinsGeneralConfig.AUTHORIZATION_TYPE MATRIX_BASED_SECURITY
-
PROJECT_BASED_MATRIX_AUTHORIZATION_STRATEGY
public static final JenkinsGeneralConfig.AUTHORIZATION_TYPE PROJECT_BASED_MATRIX_AUTHORIZATION_STRATEGY
-
ROLE_BASED_STRATEGY
public static final JenkinsGeneralConfig.AUTHORIZATION_TYPE ROLE_BASED_STRATEGY
-
OTHER
public static final JenkinsGeneralConfig.AUTHORIZATION_TYPE OTHER
-
-
Method Detail
-
values
public static JenkinsGeneralConfig.AUTHORIZATION_TYPE[] 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 (JenkinsGeneralConfig.AUTHORIZATION_TYPE c : JenkinsGeneralConfig.AUTHORIZATION_TYPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JenkinsGeneralConfig.AUTHORIZATION_TYPE 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
-
getPattern
public Pattern getPattern()
-
getHumanReadableText
public String getHumanReadableText()
-
parseAuthorization
public static JenkinsGeneralConfig.AUTHORIZATION_TYPE parseAuthorization(String input)
-
isSecure
public static Boolean isSecure(JenkinsGeneralConfig.AUTHORIZATION_TYPE authorizationType)
-
-