Package hudson.plugins.audit_trail
Class AuditTrailPlugin
java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
hudson.plugins.audit_trail.AuditTrailPlugin
- All Implemented Interfaces:
ExtensionPoint
,Describable<GlobalConfiguration>
,Saveable
,Loadable
,OnMaster
Keep audit trail of particular Jenkins operations, such as configuring jobs.
- Author:
- Alan Harder, Pierre Beitz
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) doCheckPattern
(String value) Validate regular expression syntax.protected XmlFile
boolean
boolean
Deprecated.boolean
Deprecated.as of 2.6void
onFinalized
(AbstractBuild build) Deprecated.as of 2.6void
onFinalized
(Run run) Deprecated.as of 2.6void
setDisplayUserName
(boolean displayUserName) void
setLogBuildCause
(boolean logBuildCause) void
setLogCredentialsUsage
(boolean logCredentialsUsage) void
setLoggers
(List<AuditLogger> loggers) void
setPattern
(String pattern) boolean
boolean
boolean
Methods inherited from class jenkins.model.GlobalConfiguration
all, getDescriptor, getGlobalConfigPage
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
AuditTrailPlugin
public AuditTrailPlugin()
-
-
Method Details
-
getPattern
-
getLogBuildCause
Deprecated. -
shouldLogBuildCause
public boolean shouldLogBuildCause() -
getLogCredentialsUsage
public boolean getLogCredentialsUsage() -
shouldLogCredentialsUsage
public boolean shouldLogCredentialsUsage() -
shouldDisplayUserName
public boolean shouldDisplayUserName() -
getDisplayUserName
public boolean getDisplayUserName() -
getLoggers
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) - Overrides:
configure
in classGlobalConfiguration
-
setPattern
-
setLogBuildCause
@DataBoundSetter public void setLogBuildCause(boolean logBuildCause) -
setLogCredentialsUsage
@DataBoundSetter public void setLogCredentialsUsage(boolean logCredentialsUsage) -
setDisplayUserName
@DataBoundSetter public void setDisplayUserName(boolean displayUserName) -
getLoggerDescriptors
@Deprecated public DescriptorExtensionList<AuditLogger,Descriptor<AuditLogger>> getLoggerDescriptors()Deprecated.as of 2.6 -
setLoggers
-
onFinalized
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @Deprecated public void onFinalized(Run run) Deprecated.as of 2.6 -
onFinalized
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @Deprecated public void onFinalized(AbstractBuild build) Deprecated.as of 2.6 -
doCheckPattern
public FormValidation doCheckPattern(@QueryParameter String value) throws IOException, javax.servlet.ServletException Validate regular expression syntax.- Throws:
IOException
javax.servlet.ServletException
-
getConfigFile
- Overrides:
getConfigFile
in classDescriptor<GlobalConfiguration>
-