com.pyxis.greenhopper.charts.context
Class ChartBoardContext

java.lang.Object
  extended by com.pyxis.greenhopper.charts.context.AbstractChartContext
      extended by com.pyxis.greenhopper.charts.context.ChartBoardContext
All Implemented Interfaces:
ChartContext
Direct Known Subclasses:
AgileGadgetChartContext, ArchivedChartBoardContext

public class ChartBoardContext
extends AbstractChartContext


Field Summary
protected  ChartBoard board
           
 
Fields inherited from class com.pyxis.greenhopper.charts.context.AbstractChartContext
chart, endDate, location, log, selectableCharts, startDate
 
Constructor Summary
ChartBoardContext(ChartBoard chartBoard)
           
 
Method Summary
 boolean axisAsDates()
           
 java.util.Date endDate()
           
 boolean filter()
           
 java.util.List<com.atlassian.jira.issue.Issue> getAllIssues()
           
 java.util.Set<WatchedField> getAllReportableFields()
           
 java.util.Set<com.atlassian.jira.issue.status.Status> getAllStatuses()
           
 ChartBoard getBoard()
           
 java.lang.String getChartType()
           
 java.io.File getDataDirectory()
           
 WatchedField getField()
           
 java.util.List<GroupOfIssues> getIssuesGroupedByChildren()
           
 java.util.Set<com.atlassian.jira.issue.fields.CustomField> getRankingFields()
           
 java.util.Set<java.lang.String> getSelectableChartTypes()
           
 java.util.Set<CurveSettings> getSettings()
           
 Summary getSummary()
           
 java.lang.String getText(java.lang.String key)
           
 java.lang.String getText(java.lang.String key, java.lang.Object... parameters)
           
 boolean isDone(com.atlassian.jira.issue.Issue issue)
           
 boolean isDone(com.atlassian.jira.project.Project project, java.lang.String statusId, java.lang.String resolutionId)
           
 boolean isForMaster()
           
 boolean isWithForecast()
           
 java.util.SortedSet<java.util.Date> nonWorkingDates()
           
 int precision()
           
 void setChartType(java.lang.String chartType)
           
 void setField(WatchedField field)
           
 void setIsForMaster(boolean isForMaster)
           
 void setWithLegend(boolean withLegend)
           
 java.util.Date startDate()
           
 boolean stripped()
           
 boolean withLabels()
           
 boolean withLegend()
           
 boolean withTitle()
           
 
Methods inherited from class com.pyxis.greenhopper.charts.context.AbstractChartContext
curveSetting, getAverageValue, getChart, getChartLocation, getCSVReport, getGreenHopperService, getHeight, getIssueLinkManager, getJFreeChart, getOriginalValue, getSettingsId, getStartDateEndOfDay, getTimeZoneInfo, getTotalValue, getWidth, roundUp, saveChartAndReport, showAverage, toHours
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

board

protected final ChartBoard board
Constructor Detail

ChartBoardContext

public ChartBoardContext(ChartBoard chartBoard)
Method Detail

startDate

public java.util.Date startDate()

endDate

public java.util.Date endDate()

axisAsDates

public boolean axisAsDates()

getField

public WatchedField getField()

setField

public void setField(WatchedField field)

getText

public java.lang.String getText(java.lang.String key)

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.Object... parameters)

isWithForecast

public boolean isWithForecast()

nonWorkingDates

public java.util.SortedSet<java.util.Date> nonWorkingDates()

precision

public int precision()

getSettings

public java.util.Set<CurveSettings> getSettings()

stripped

public boolean stripped()

withLabels

public boolean withLabels()

withLegend

public boolean withLegend()

setWithLegend

public void setWithLegend(boolean withLegend)

withTitle

public boolean withTitle()

getSummary

public Summary getSummary()

getAllIssues

public java.util.List<com.atlassian.jira.issue.Issue> getAllIssues()

getAllStatuses

public java.util.Set<com.atlassian.jira.issue.status.Status> getAllStatuses()

getAllReportableFields

public java.util.Set<WatchedField> getAllReportableFields()

getRankingFields

public java.util.Set<com.atlassian.jira.issue.fields.CustomField> getRankingFields()

filter

public boolean filter()

getIssuesGroupedByChildren

public java.util.List<GroupOfIssues> getIssuesGroupedByChildren()

getChartType

public java.lang.String getChartType()

setChartType

public void setChartType(java.lang.String chartType)

isDone

public boolean isDone(com.atlassian.jira.issue.Issue issue)

isDone

public boolean isDone(com.atlassian.jira.project.Project project,
                      java.lang.String statusId,
                      java.lang.String resolutionId)

isForMaster

public boolean isForMaster()

setIsForMaster

public void setIsForMaster(boolean isForMaster)

getDataDirectory

public java.io.File getDataDirectory()

getSelectableChartTypes

public java.util.Set<java.lang.String> getSelectableChartTypes()
Specified by:
getSelectableChartTypes in interface ChartContext
Overrides:
getSelectableChartTypes in class AbstractChartContext

getBoard

public ChartBoard getBoard()
Specified by:
getBoard in class AbstractChartContext


Copyright © 2007-2012 Atlassian. All Rights Reserved.