Package io.jenkins.plugins.csp
Class ContentSecurityPolicyManagementLink
java.lang.Object
hudson.model.ManagementLink
io.jenkins.plugins.csp.ContentSecurityPolicyManagementLink
- All Implemented Interfaces:
ExtensionPoint
,Action
,ModelObject
,ContentSecurityPolicyReceiver
,org.kohsuke.stapler.StaplerProxy
@Extension
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
@Symbol("contentSecurityPolicyManagementLink")
public class ContentSecurityPolicyManagementLink
extends ManagementLink
implements org.kohsuke.stapler.StaplerProxy, ContentSecurityPolicyReceiver
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static class
Nested classes/interfaces inherited from class hudson.model.ManagementLink
ManagementLink.Category
Nested classes/interfaces inherited from interface io.jenkins.plugins.csp.ContentSecurityPolicyReceiver
ContentSecurityPolicyReceiver.ViewContext
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
FieldsFields inherited from class hudson.model.ManagementLink
LIST
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.kohsuke.stapler.HttpResponse
doClear()
void
report
(ContentSecurityPolicyReceiver.ViewContext viewContext, User user, net.sf.json.JSONObject report) void
rotate()
Methods inherited from class hudson.model.ManagementLink
all, getBadge, getCategoryName, getRequiredPermission, getRequiresConfirmation, getRequiresPOST
-
Field Details
-
LOGGER
-
ROTATE_PERIOD_HOURS
public static final int ROTATE_PERIOD_HOURS
-
-
Constructor Details
-
ContentSecurityPolicyManagementLink
public ContentSecurityPolicyManagementLink()
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
- Specified by:
getIconFileName
in classManagementLink
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
- Specified by:
getUrlName
in classManagementLink
-
getDescription
- Overrides:
getDescription
in classManagementLink
-
getCategory
- Overrides:
getCategory
in classManagementLink
-
getTarget
- Specified by:
getTarget
in interfaceorg.kohsuke.stapler.StaplerProxy
-
report
public void report(@NonNull ContentSecurityPolicyReceiver.ViewContext viewContext, @CheckForNull User user, @NonNull net.sf.json.JSONObject report) - Specified by:
report
in interfaceContentSecurityPolicyReceiver
-
getRecords
-
doClear
public org.kohsuke.stapler.HttpResponse doClear() -
rotate
public void rotate()
-