com.atlassian.jira.plugin.componentpanel.impl
Class AbstractSummaryTabPanel
java.lang.Object
com.atlassian.jira.plugin.componentpanel.impl.GenericTabPanel
com.atlassian.jira.plugin.componentpanel.impl.AbstractSummaryTabPanel
- All Implemented Interfaces:
- ComponentTabPanel
- Direct Known Subclasses:
- ChangeLogTabPanel, RoadMapTabPanel
public abstract class AbstractSummaryTabPanel
- extends GenericTabPanel
An Abstract class to display a comment summary (namely Roadmap and Changelog). This contains
the logic required to display a list of versions and all issues for each version, as well as a
progress bar for those versions.
- Since:
- v3.10
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionManager
protected final VersionManager versionManager
searchProvider
protected final SearchProvider searchProvider
constantsManager
protected final ConstantsManager constantsManager
applicationProperties
protected final ApplicationProperties applicationProperties
AbstractSummaryTabPanel
public AbstractSummaryTabPanel(ProjectManager projectManager,
JiraAuthenticationContext authenticationContext,
VersionManager versionManager,
ConstantsManager constantsManager,
SearchProvider searchProvider,
ApplicationProperties applicationProperties)
getVersions
protected abstract Collection getVersions(Long projectId)
- Implement this method in order to return a collection of required versions.
- Parameters:
projectId
- project id
- Returns:
- a collection of
Version
objects
createVelocityParams
protected Map createVelocityParams(ComponentContext context)
- Overrides:
createVelocityParams
in class GenericTabPanel
getGraphModel
public PercentageGraphModel getGraphModel(ProjectComponent component,
Version version)
throws Exception
- Throws:
Exception
getIssuesByFixForVersion
public Collection getIssuesByFixForVersion(ProjectComponent component,
Version version)
getResolvedIssuesCount
public long getResolvedIssuesCount(ProjectComponent component,
Version version)
throws Exception
- Throws:
Exception
Copyright © 2002-2009 Atlassian. All Rights Reserved.