com.atlassian.jira.plugin.projectpanel.fragment.impl
Class StatusSummaryFragment

java.lang.Object
  extended by com.atlassian.jira.plugin.projectpanel.fragment.impl.AbstractFragment
      extended by com.atlassian.jira.plugin.projectpanel.fragment.impl.AbstractMultiFragment
          extended by com.atlassian.jira.plugin.projectpanel.fragment.impl.StatusSummaryFragment
All Implemented Interfaces:
ComponentTabPanelFragment, ProjectTabPanelFragment, VersionTabPanelFragment

public class StatusSummaryFragment
extends AbstractMultiFragment

Displays a break down based on issue status.

Since:
v4.0

Nested Class Summary
static class StatusSummaryFragment.StatusUrlUtil
           
 
Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.projectpanel.fragment.impl.AbstractFragment
applicationProperites, jiraAuthenticationContext, velocityManager
 
Constructor Summary
StatusSummaryFragment(com.atlassian.velocity.VelocityManager velocityManager, ApplicationProperties applicationProperites, JiraAuthenticationContext jiraAuthenticationContext, ConstantsManager constantsManager)
           
 
Method Summary
protected  java.util.Map<java.lang.String,java.lang.Object> createVelocityParams(BrowseContext ctx)
          Creates new map of velocity parameters.
 java.lang.String getId()
          Returns fragmet's ID.
protected  java.lang.String getTemplateDirectoryPath()
          Returns the path to the template directory
 boolean showFragment(BrowseContext ctx)
          Always returns true as the status field is always visible.
 
Methods inherited from class com.atlassian.jira.plugin.projectpanel.fragment.impl.AbstractFragment
getHtml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.plugin.projectpanel.fragment.ProjectTabPanelFragment
getHtml
 

Constructor Detail

StatusSummaryFragment

public StatusSummaryFragment(com.atlassian.velocity.VelocityManager velocityManager,
                             ApplicationProperties applicationProperites,
                             JiraAuthenticationContext jiraAuthenticationContext,
                             ConstantsManager constantsManager)
Method Detail

getId

public java.lang.String getId()
Description copied from interface: ProjectTabPanelFragment
Returns fragmet's ID.

Returns:
id of the fragment, never null

getTemplateDirectoryPath

protected java.lang.String getTemplateDirectoryPath()
Description copied from class: AbstractFragment
Returns the path to the template directory

Specified by:
getTemplateDirectoryPath in class AbstractFragment
Returns:
the path to the template directory

createVelocityParams

protected java.util.Map<java.lang.String,java.lang.Object> createVelocityParams(BrowseContext ctx)
Description copied from class: AbstractFragment
Creates new map of velocity parameters.

This map contains:

Overrides:
createVelocityParams in class AbstractFragment
Parameters:
ctx - browse context
Returns:
new velocity parameters map

showFragment

public boolean showFragment(BrowseContext ctx)
Always returns true as the status field is always visible.

Parameters:
ctx - ignored
Returns:
true


Copyright © 2002-2010 Atlassian. All Rights Reserved.