Package io.jenkins.plugins.auditlogger
Class AuditLoggerManagementLink
java.lang.Object
hudson.model.ManagementLink
io.jenkins.plugins.auditlogger.AuditLoggerManagementLink
- All Implemented Interfaces:
ExtensionPoint,Action,ModelObject
Management link: web UI, paged JSON API, and exports with display-timezone support.
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.ManagementLink
ManagementLink.CategoryNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.ManagementLink
LIST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoAlerts(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res) API endpoint for anomaly alerts, consumed by the dashboard's risk panel.voiddoApi(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res) voiddoDismissAlert(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res) voiddoExportCsv(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res) voiddoExportJson(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res) voiddoExportTxt(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanMethods inherited from class hudson.model.ManagementLink
all, getBadge, getCategoryName, getRequiresConfirmation, getRequiresPOST
-
Constructor Details
-
AuditLoggerManagementLink
public AuditLoggerManagementLink()
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction- Specified by:
getIconFileNamein classManagementLink
-
getDisplayName
-
getPageTitle
-
getPageHeading
-
getPluginVersion
-
getUrlName
- Specified by:
getUrlNamein interfaceAction- Specified by:
getUrlNamein classManagementLink
-
getDescription
- Overrides:
getDescriptionin classManagementLink
-
getCategory
- Overrides:
getCategoryin classManagementLink
-
getRequiredPermission
- Overrides:
getRequiredPermissionin classManagementLink
-
doApi
@GET public void doApi(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res) throws IOException - Throws:
IOException
-
doExportCsv
@GET public void doExportCsv(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res) throws IOException - Throws:
IOException
-
getDisplayTimeZoneId
-
getDefaultViewMode
-
getDefaultDatePreset
-
getDefaultDateFrom
-
getDefaultDateTo
-
getStatsEnabled
public boolean getStatsEnabled() -
getCsvExportEnabled
public boolean getCsvExportEnabled() -
getJsonExportEnabled
public boolean getJsonExportEnabled() -
getRiskLevelsEnabled
public boolean getRiskLevelsEnabled() -
getAnomalyDetectionEnabled
public boolean getAnomalyDetectionEnabled() -
getAnomalyRowEnabled
public boolean getAnomalyRowEnabled() -
getAnomalyConfigJson
-
getShowMetricTotal
public boolean getShowMetricTotal() -
getShowMetricLogins
public boolean getShowMetricLogins() -
getShowMetricFailedLogins
public boolean getShowMetricFailedLogins() -
getShowMetricBuilds
public boolean getShowMetricBuilds() -
getShowMetricJobs
public boolean getShowMetricJobs() -
getShowMetricConfig
public boolean getShowMetricConfig() -
getOnboardingStorageKey
-
doExportJson
@GET public void doExportJson(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res) throws IOException - Throws:
IOException
-
doExportTxt
@GET public void doExportTxt(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res) throws IOException - Throws:
IOException
-
doAlerts
@GET public void doAlerts(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res) throws IOException API endpoint for anomaly alerts, consumed by the dashboard's risk panel.- Throws:
IOException
-
doDismissAlert
@GET public void doDismissAlert(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res) throws IOException - Throws:
IOException
-