Class MatrixAuthorizationStrategyConfigurator<T extends AuthorizationContainer>
java.lang.Object
io.jenkins.plugins.casc.BaseConfigurator<T>
com.microsoft.jenkins.azuread.integrations.casc.MatrixAuthorizationStrategyConfigurator<T>
- All Implemented Interfaces:
io.jenkins.plugins.casc.Configurator<T>
- Direct Known Subclasses:
AzureAdMatrixAuthorizationStrategyConfigurator
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public abstract class MatrixAuthorizationStrategyConfigurator<T extends AuthorizationContainer>
extends io.jenkins.plugins.casc.BaseConfigurator<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jenkins.plugins.casc.BaseConfigurator
io.jenkins.plugins.casc.BaseConfigurator.TypePair
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondescribe()
static Collection<DefinitionEntry>
getEntries
(AuthorizationContainer container) Maps anAuthorizationContainer
to a collection (list) ofDefinitionEntry
, its serialized form.Class<?>
static void
setEntries
(AuthorizationContainer container, Collection<DefinitionEntry> entries) static void
setLegacyPermissions
(AuthorizationContainer container, Collection<String> permissions) Configure container's permissions from a List of "PERMISSION:sid" or "TYPE:PERMISSION:sid"static void
setPermissionsDeprecated
(AuthorizationContainer container, Collection<String> permissions) LikesetLegacyPermissions(AuthorizationContainer, Collection)
but logs a deprecation warningMethods inherited from class io.jenkins.plugins.casc.BaseConfigurator
check, compare, configure, configure, createAttribute, equals, exclusions, handleUnknown, hashCode, instance
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jenkins.plugins.casc.Configurator
canConfigure, describe, describeStructure, getAttributes, getConfigurators, getDisplayName, getName, getNames, getTarget
-
Constructor Details
-
MatrixAuthorizationStrategyConfigurator
public MatrixAuthorizationStrategyConfigurator()
-
-
Method Details
-
getImplementedAPI
-
describe
- Specified by:
describe
in interfaceio.jenkins.plugins.casc.Configurator<T extends AuthorizationContainer>
- Overrides:
describe
in classio.jenkins.plugins.casc.BaseConfigurator<T extends AuthorizationContainer>
-
getEntries
Maps anAuthorizationContainer
to a collection (list) ofDefinitionEntry
, its serialized form.- Parameters:
container
- the container- Returns:
-
setEntries
public static void setEntries(AuthorizationContainer container, Collection<DefinitionEntry> entries) -
setLegacyPermissions
public static void setLegacyPermissions(AuthorizationContainer container, Collection<String> permissions) Configure container's permissions from a List of "PERMISSION:sid" or "TYPE:PERMISSION:sid" -
setPermissionsDeprecated
public static void setPermissionsDeprecated(AuthorizationContainer container, Collection<String> permissions) LikesetLegacyPermissions(AuthorizationContainer, Collection)
but logs a deprecation warning
-