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 Classes Modifier and Type Class Description static class
ContentSecurityPolicyManagementLink.Record
static class
ContentSecurityPolicyManagementLink.Rotator
-
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
Fields Modifier and Type Field Description static Logger
LOGGER
static int
ROTATE_PERIOD_HOURS
-
Fields inherited from class hudson.model.ManagementLink
LIST
-
-
Constructor Summary
Constructors Constructor Description ContentSecurityPolicyManagementLink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.ViewContext viewContext, User user, net.sf.json.JSONObject report)
void
rotate()
-
Methods inherited from class hudson.model.ManagementLink
all, getCategoryName, getRequiredPermission, getRequiresConfirmation, getRequiresPOST
-
-
-
-
Field Detail
-
LOGGER
public static final Logger LOGGER
-
ROTATE_PERIOD_HOURS
public static final int ROTATE_PERIOD_HOURS
-
-
Method Detail
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
- Specified by:
getIconFileName
in classManagementLink
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
- Specified by:
getUrlName
in classManagementLink
-
getDescription
public String getDescription()
- Overrides:
getDescription
in classManagementLink
-
getCategory
@NonNull public ManagementLink.Category getCategory()
- Overrides:
getCategory
in classManagementLink
-
getTarget
public Object 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
public List<ContentSecurityPolicyManagementLink.Record> getRecords()
-
doClear
public org.kohsuke.stapler.HttpResponse doClear()
-
rotate
public void rotate()
-
-