com.atlassian.jira.portal.portlets
Class RoadMapPortlet
java.lang.Object
com.atlassian.jira.portal.PortletImpl
com.atlassian.jira.portal.portlets.RoadMapPortlet
- All Implemented Interfaces:
- Portlet
public class RoadMapPortlet
- extends PortletImpl
Portlet implementation for the RoadMapPortlet.
This portlet displays the upcoming Versions for selected projects.
It is restricted to Versions with a release date X days from date run.
- Since:
- v3.11
Methods inherited from class com.atlassian.jira.portal.PortletImpl |
equals, getCornerThumbnail, getCornerThumbnailPath, getDescription, getDescriptor, getId, getIssueConstant, getListFromMultiSelectValue, getName, getObjectConfiguration, getPermission, getTemplateLocation, getThumbnailfile, getThumbnailPath, getViewHtml, hashCode, hasPermission, init, isEditablePortletConfig |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
RoadMapPortlet
public RoadMapPortlet(JiraAuthenticationContext authCtx,
PermissionManager permissionManager,
ApplicationProperties appProps,
SearchProvider searchProvider,
ConstantsManager constantsManager,
ProjectManager projectManager,
VersionManager versionManager,
SearchService searchService)
getVelocityParams
protected java.util.Map getVelocityParams(PortletConfiguration portletConfiguration)
- Description copied from class:
PortletImpl
- Allow for the addition of additional Velocity parameters to the context.
Sub-classes may wish to override this to add their own object to the velocity context
- Overrides:
getVelocityParams
in class PortletImpl
- Parameters:
portletConfiguration
- portlet configuration
- Returns:
- map of velocity parameters, never null
isOverdue
public boolean isOverdue(Version version)
getGraphModelForVersion
public PercentageGraphModel getGraphModelForVersion(Version version)
throws SearchException
- Get the GraphModel for a given Version. This will calculate the percentage of issues resolved.
This method gets called from rendering template
- Parameters:
version
- The Version to calculate percentages for.
- Returns:
- model representing a resolution bar graph.
- Throws:
SearchException
- when search throws an error.
getNavigatorUrl
public java.lang.String getNavigatorUrl(Project project,
Version version,
boolean unresolved)
getText
public java.lang.String getText(java.lang.String key)
- Get i18n text for key.
- Parameters:
key
- key to retrieve property for
- Returns:
- i18n string
Copyright © 2002-2010 Atlassian. All Rights Reserved.