hudson.plugins.audit_trail
Class AuditTrailPlugin

java.lang.Object
  extended by hudson.Plugin
      extended by hudson.plugins.audit_trail.AuditTrailPlugin
All Implemented Interfaces:
hudson.model.Saveable

public class AuditTrailPlugin
extends hudson.Plugin

Keep audit trail of particular Hudson operations, such as configuring jobs.

Author:
Alan.Harder@sun.com

Nested Class Summary
static class AuditTrailPlugin.AuditTrailRunListener
           
 
Field Summary
static AuditTrailPlugin.AuditTrailRunListener LISTENER
           
 
Fields inherited from class hudson.Plugin
NONE
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
AuditTrailPlugin()
           
 
Method Summary
 void configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 hudson.util.FormValidation doRegexCheck(java.lang.String value)
          Validate regular expression syntax.
 int getCount()
           
 int getLimit()
           
 java.lang.String getLog()
           
 boolean getLogBuildCause()
           
 java.lang.String getPattern()
           
 void postInitialize()
           
 void setServletContext(javax.servlet.ServletContext context)
           
 void start()
           
 
Methods inherited from class hudson.Plugin
configure, doDynamic, getConfigXml, load, save, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LISTENER

@Extension
public static final AuditTrailPlugin.AuditTrailRunListener LISTENER
Constructor Detail

AuditTrailPlugin

public AuditTrailPlugin()
Method Detail

getLog

public java.lang.String getLog()

getLimit

public int getLimit()

getCount

public int getCount()

getPattern

public java.lang.String getPattern()

getLogBuildCause

public boolean getLogBuildCause()

setServletContext

public void setServletContext(javax.servlet.ServletContext context)
Overrides:
setServletContext in class hudson.Plugin

start

public void start()
           throws java.lang.Exception
Overrides:
start in class hudson.Plugin
Throws:
java.lang.Exception

postInitialize

public void postInitialize()
Overrides:
postInitialize in class hudson.Plugin

configure

public void configure(org.kohsuke.stapler.StaplerRequest req,
                      net.sf.json.JSONObject formData)
               throws java.io.IOException,
                      javax.servlet.ServletException,
                      hudson.model.Descriptor.FormException
Overrides:
configure in class hudson.Plugin
Throws:
java.io.IOException
javax.servlet.ServletException
hudson.model.Descriptor.FormException

doRegexCheck

public hudson.util.FormValidation doRegexCheck(@QueryParameter
                                               java.lang.String value)
                                        throws java.io.IOException,
                                               javax.servlet.ServletException
Validate regular expression syntax.

Throws:
java.io.IOException
javax.servlet.ServletException


Copyright © 2009. All Rights Reserved.