@Extension @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @Symbol(value="contentSecurityPolicyManagementLink") public class ContentSecurityPolicyManagementLink extends ManagementLink implements org.kohsuke.stapler.StaplerProxy, ContentSecurityPolicyReceiver
| Modifier and Type | Class and Description |
|---|---|
static class |
ContentSecurityPolicyManagementLink.Record |
static class |
ContentSecurityPolicyManagementLink.Rotator |
ManagementLink.CategoryContentSecurityPolicyReceiver.ContextExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Field and Description |
|---|---|
static Logger |
LOGGER |
static int |
ROTATE_PERIOD_HOURS |
LIST| Constructor and Description |
|---|
ContentSecurityPolicyManagementLink() |
| Modifier and Type | Method and Description |
|---|---|
org.kohsuke.stapler.HttpResponse |
doClear() |
ManagementLink.Category |
getCategory() |
String |
getDescription() |
String |
getDisplayName() |
String |
getIconFileName() |
List<ContentSecurityPolicyManagementLink.Record> |
getRecords() |
Object |
getTarget() |
String |
getUrlName() |
void |
report(ContentSecurityPolicyReceiver.Context context,
User user,
net.sf.json.JSONObject report) |
void |
rotate() |
all, getCategoryName, getRequiredPermission, getRequiresConfirmation, getRequiresPOSTpublic static final Logger LOGGER
public static final int ROTATE_PERIOD_HOURS
public String getIconFileName()
getIconFileName in interface ActiongetIconFileName in class ManagementLinkpublic String getDisplayName()
getDisplayName in interface ActiongetDisplayName in interface ModelObjectpublic String getUrlName()
getUrlName in interface ActiongetUrlName in class ManagementLinkpublic String getDescription()
getDescription in class ManagementLink@NonNull public ManagementLink.Category getCategory()
getCategory in class ManagementLinkpublic Object getTarget()
getTarget in interface org.kohsuke.stapler.StaplerProxypublic void report(@NonNull
ContentSecurityPolicyReceiver.Context context,
@CheckForNull
User user,
@NonNull
net.sf.json.JSONObject report)
report in interface ContentSecurityPolicyReceiverpublic List<ContentSecurityPolicyManagementLink.Record> getRecords()
public org.kohsuke.stapler.HttpResponse doClear()
public void rotate()
Copyright © 2016–2021. All rights reserved.