public abstract class AbstractChartFragment extends AbstractFragment
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractChartFragment.ChartImageMap
Wrapper to satisfy Velocity safe-html in all the JIRAz.
|
| Modifier and Type | Field and Description |
|---|---|
protected static int |
HEIGHT |
protected com.atlassian.jira.bc.issue.search.SearchService |
searchService |
protected static int |
WIDTH |
| Constructor and Description |
|---|
AbstractChartFragment(com.atlassian.jira.bc.issue.search.SearchService searchService,
com.atlassian.velocity.VelocityManager velocityManager,
com.atlassian.jira.config.properties.ApplicationProperties applicationProperites,
com.atlassian.jira.security.JiraAuthenticationContext jiraAuthenticationContext) |
| Modifier and Type | Method and Description |
|---|---|
protected org.jfree.data.category.CategoryDataset |
createDataset(List<com.atlassian.jira.issue.Issue> issues) |
Map<String,Object> |
createVelocityParams(com.atlassian.jira.project.browse.BrowseContext ctx) |
protected void |
generateChart(Map<String,Object> params,
List<com.atlassian.jira.issue.Issue> issues,
com.atlassian.jira.util.ErrorCollection errors) |
protected String |
getText(String key) |
abstract int |
groupNumber()
Matcher group number for regex-parsing the environment field.
|
String |
i18nPrefix()
I18n prefix to get standard text resources.
|
String |
issueCountName() |
protected String |
parseEnvironmentString(String environment) |
boolean |
showFragment(com.atlassian.jira.project.browse.BrowseContext browseContext) |
getApplicationProperites, getHtml, getId, getJiraAuthenticationContext, getVelocityManager, initprotected static final int WIDTH
protected static final int HEIGHT
protected final com.atlassian.jira.bc.issue.search.SearchService searchService
public AbstractChartFragment(com.atlassian.jira.bc.issue.search.SearchService searchService,
com.atlassian.velocity.VelocityManager velocityManager,
com.atlassian.jira.config.properties.ApplicationProperties applicationProperites,
com.atlassian.jira.security.JiraAuthenticationContext jiraAuthenticationContext)
public final Map<String,Object> createVelocityParams(com.atlassian.jira.project.browse.BrowseContext ctx)
createVelocityParams in class AbstractFragmentprotected org.jfree.data.category.CategoryDataset createDataset(List<com.atlassian.jira.issue.Issue> issues)
protected void generateChart(Map<String,Object> params, List<com.atlassian.jira.issue.Issue> issues, com.atlassian.jira.util.ErrorCollection errors)
public boolean showFragment(com.atlassian.jira.project.browse.BrowseContext browseContext)
showFragment in class AbstractFragmentpublic abstract int groupNumber()
IssueHelper.ENV_FIELD_PATTERNpublic String i18nPrefix()
public final String issueCountName()
Copyright © 2015 Atlassian. All rights reserved.