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 classstatic classNested classes/interfaces inherited from class hudson.model.ManagementLink
ManagementLink.CategoryNested classes/interfaces inherited from interface io.jenkins.plugins.csp.ContentSecurityPolicyReceiver
ContentSecurityPolicyReceiver.ViewContextNested 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.HttpResponsedoClear()voidreport(ContentSecurityPolicyReceiver.ViewContext viewContext, User user, net.sf.json.JSONObject report) voidrotate()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:
getIconFileNamein interfaceAction- Specified by:
getIconFileNamein classManagementLink
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction- Specified by:
getUrlNamein classManagementLink
-
getDescription
- Overrides:
getDescriptionin classManagementLink
-
getCategory
- Overrides:
getCategoryin classManagementLink
-
getTarget
- Specified by:
getTargetin interfaceorg.kohsuke.stapler.StaplerProxy
-
report
public void report(@NonNull ContentSecurityPolicyReceiver.ViewContext viewContext, @CheckForNull User user, @NonNull net.sf.json.JSONObject report) - Specified by:
reportin interfaceContentSecurityPolicyReceiver
-
getRecords
-
doClear
public org.kohsuke.stapler.HttpResponse doClear() -
rotate
public void rotate()
-