Package org.jenkinsci.plugins.matrixauth
Class AmbiguityMonitor
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.AdministrativeMonitor
org.jenkinsci.plugins.matrixauth.AmbiguityMonitor
- All Implemented Interfaces:
ExtensionPoint
,ModelObject
,SearchableModelObject
,SearchItem
,org.kohsuke.stapler.StaplerProxy
@Extension
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class AmbiguityMonitor
extends AdministrativeMonitor
Warn when any configuration contains ambiguous permission assignments.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Implementations must provide aentries.jelly
file to display their ambiguous items as top-level<li>
items (it will be displayed in a<ul>
.static class
static class
static class
static class
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
FieldsFields inherited from class hudson.model.AdministrativeMonitor
id
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
hasAmbiguousEntries
(AuthorizationContainer container) boolean
static boolean
boolean
static void
For folder and job properties, we hook into their #setOwner method.Methods inherited from class hudson.model.AdministrativeMonitor
all, checkRequiredPermission, disable, doDisable, getRequiredPermission, getSearchUrl, getTarget, getUrl, hasPermissionToDisplay, hasRequiredPermission, isEnabled
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendError
-
Field Details
-
LOGGER
-
-
Constructor Details
-
AmbiguityMonitor
public AmbiguityMonitor()
-
-
Method Details
-
getContributors
-
getDisplayName
- Specified by:
getDisplayName
in interfaceModelObject
- Overrides:
getDisplayName
in classAdministrativeMonitor
-
isSecurity
public boolean isSecurity()- Overrides:
isSecurity
in classAdministrativeMonitor
-
isActivated
public boolean isActivated()- Specified by:
isActivated
in classAdministrativeMonitor
-
hasAmbiguousEntries
-
recordAgents
For folder and job properties, we hook into their #setOwner method. Node properties have no such method, so we need to scan them after startup. -
isGatheringData
public static boolean isGatheringData()
-