hudson.plugins.testabilityexplorer.report
Class AbstractProjectReport<T extends hudson.model.AbstractProject<?,?>>
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.Actionable
hudson.plugins.testabilityexplorer.helpers.AbstractProjectAction<T>
hudson.plugins.testabilityexplorer.report.AbstractProjectReport<T>
- All Implemented Interfaces:
- hudson.model.Action, hudson.model.ModelObject, hudson.model.ProminentProjectAction, hudson.search.SearchableModelObject, hudson.search.SearchItem
- Direct Known Subclasses:
- ProjectAggregatedReport, ProjectIndividualReport
public abstract class AbstractProjectReport<T extends hudson.model.AbstractProject<?,?>>
- extends AbstractProjectAction<T>
- implements hudson.model.ProminentProjectAction
Base class for project reports.
- Author:
- reik.schatz
| Methods inherited from class hudson.model.Actionable |
addAction, getAction, getAction, getActions, getActions, getDynamic |
| Methods inherited from class hudson.model.AbstractModelObject |
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractProjectReport
public AbstractProjectReport(T project)
getIconFileName
public java.lang.String getIconFileName()
-
- Specified by:
getIconFileName in interface hudson.model.Action
getDisplayName
public java.lang.String getDisplayName()
-
- Specified by:
getDisplayName in interface hudson.model.Action- Specified by:
getDisplayName in interface hudson.model.ModelObject
getUrlName
public java.lang.String getUrlName()
-
- Specified by:
getUrlName in interface hudson.model.Action
getSearchUrl
public java.lang.String getSearchUrl()
-
- Specified by:
getSearchUrl in interface hudson.search.SearchItem
getResults
public java.util.Collection<Statistic> getResults()
getTotals
public int getTotals()
getApplicableBuildAction
protected AbstractBuildReport getApplicableBuildAction()
- Returns the first applicable
AbstractBuildReport action in any of the
previous build. May return null.
- Returns:
- AbstractBuildReport or
null
getBuildActionClass
protected abstract java.lang.Class<? extends AbstractBuildReport> getBuildActionClass()
- Returns a
AbstractBuildReport for rendering.
- Returns:
- AbstractBuildReport
Copyright © 2009. All Rights Reserved.