org.jenkins.plugins.audit2db.internal.reports
Class JobHistoryReportImpl

java.lang.Object
  extended by org.jenkins.plugins.audit2db.internal.reports.AbstractDbAuditReport
      extended by org.jenkins.plugins.audit2db.internal.reports.JobHistoryReportImpl
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Action, hudson.model.Describable<DbAuditReport>, hudson.model.ModelObject, DbAuditReport, JobHistoryReport

@Extension
public class JobHistoryReportImpl
extends AbstractDbAuditReport
implements JobHistoryReport

Author:
Marco Scata

Nested Class Summary
static class JobHistoryReportImpl.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
JobHistoryReportImpl()
           
 
Method Summary
 String getDateGenerated()
           
 String getDisplayName()
           
 String getEndDateParam(String dateString)
           
 Map<String,List<BuildDetails>> getProjectExecutions(String jobName, String startDateString, String endDateString)
           
 String getReportDescription()
           
 String getReportDisplayedInfo()
           
 String getStartDateParam(String dateString)
           
 String getUrlName()
           
 
Methods inherited from class org.jenkins.plugins.audit2db.internal.reports.AbstractDbAuditReport
getDescriptor, getIconFileName, getJenkinsHostname, getJenkinsIpAddr, getRepository, setRepository
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jenkins.plugins.audit2db.reports.DbAuditReport
getJenkinsHostname, getJenkinsIpAddr, getRepository, setRepository
 
Methods inherited from interface hudson.model.Action
getIconFileName
 
Methods inherited from interface hudson.model.Describable
getDescriptor
 

Constructor Detail

JobHistoryReportImpl

public JobHistoryReportImpl()
Method Detail

getDateGenerated

public String getDateGenerated()
Specified by:
getDateGenerated in interface DbAuditReport
Returns:
the date and time in which the report was generated.

getStartDateParam

public String getStartDateParam(String dateString)
Specified by:
getStartDateParam in interface JobHistoryReport

getEndDateParam

public String getEndDateParam(String dateString)
Specified by:
getEndDateParam in interface JobHistoryReport

getReportDescription

public String getReportDescription()
Specified by:
getReportDescription in interface DbAuditReport
Returns:
a generic explanation about the report's layout and objectives.

getReportDisplayedInfo

public String getReportDisplayedInfo()
Specified by:
getReportDisplayedInfo in interface DbAuditReport
Returns:
a list of information parts exposed by ths report.

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getUrlName

public String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action

getProjectExecutions

public Map<String,List<BuildDetails>> getProjectExecutions(String jobName,
                                                           String startDateString,
                                                           String endDateString)
Specified by:
getProjectExecutions in interface JobHistoryReport


Copyright © 2004-2013. All Rights Reserved.