Class StatusSummaryFragment
java.lang.Object
com.atlassian.jira.projects.legacy.projectpanel.fragment.impl.AbstractFragment
com.atlassian.jira.projects.legacy.projectpanel.fragment.impl.AbstractMultiFragment
com.atlassian.jira.projects.legacy.projectpanel.fragment.impl.StatusSummaryFragment
- All Implemented Interfaces:
ProjectTabPanelFragment,VersionTabPanelFragment
Displays a break down based on issue status.
- Since:
- v4.0
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.atlassian.jira.projects.legacy.projectpanel.fragment.impl.AbstractFragment
authenticationContext, velocityManager -
Constructor Summary
ConstructorsConstructorDescriptionStatusSummaryFragment(VelocityTemplatingEngine templatingEngine, ApplicationProperties applicationProperties, JiraAuthenticationContext jiraAuthenticationContext) -
Method Summary
Methods inherited from class com.atlassian.jira.projects.legacy.projectpanel.fragment.impl.AbstractFragment
getHtml, getIssueCountInSearchMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.projects.legacy.projectpanel.fragment.ProjectTabPanelFragment
getHtml
-
Constructor Details
-
StatusSummaryFragment
@Inject public StatusSummaryFragment(VelocityTemplatingEngine templatingEngine, ApplicationProperties applicationProperties, JiraAuthenticationContext jiraAuthenticationContext)
-
-
Method Details
-
getId
Description copied from interface:ProjectTabPanelFragmentReturns the fragment's unique HTML ID.- Returns:
- the id of the fragment, never null
-
getTemplateDirectoryPath
Description copied from class:AbstractFragmentReturns the path to the template directory- Specified by:
getTemplateDirectoryPathin classAbstractFragment- Returns:
- the path to the template directory
-
createVelocityParams
Description copied from class:AbstractFragmentCreates new map of velocity parameters. This map contains:- fragid - value returned by
ProjectTabPanelFragment.getId() - project - project got from the context passed in
- i18n - i18n bean from the authentication context
- Overrides:
createVelocityParamsin classAbstractFragment- Parameters:
ctx- browse context- Returns:
- new velocity parameters map
- fragid - value returned by
-
showFragment
Always returns true as the status field is always visible.- Parameters:
ctx- ignored- Returns:
- true
-