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

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

@Extension
public class JobsByParamReportImpl
extends AbstractDbAuditReport
implements JobsByParamReport

Author:
Marco Scata

Nested Class Summary
static class JobsByParamReportImpl.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
JobsByParamReportImpl()
           
 
Method Summary
 String getDateGenerated()
           
 String getDisplayName()
           
 String getEndDateParam(String dateString)
           
 Map<String,List<BuildDetails>> getProjectExecutions(String paramName, String paramValue, 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

JobsByParamReportImpl

public JobsByParamReportImpl()
Method Detail

getDateGenerated

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

getReportDescription

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

getReportDisplayedInfo

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

getDisplayName

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

getUrlName

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

getStartDateParam

public String getStartDateParam(String dateString)
Specified by:
getStartDateParam in interface JobsByParamReport
See Also:
JobsByParamReport.getStartDateParam(java.lang.String)

getEndDateParam

public String getEndDateParam(String dateString)
Specified by:
getEndDateParam in interface JobsByParamReport
See Also:
JobsByParamReport.getEndDateParam(java.lang.String)

getProjectExecutions

public Map<String,List<BuildDetails>> getProjectExecutions(String paramName,
                                                           String paramValue,
                                                           String startDateString,
                                                           String endDateString)
Specified by:
getProjectExecutions in interface JobsByParamReport
See Also:
JobsByParamReport.getProjectExecutions(java.lang.String, java.lang.String, java.lang.String, java.lang.String)


Copyright © 2004-2013. All Rights Reserved.