com.pyxis.greenhopper.jira.boards.stats
Class IssueCountField

java.lang.Object
  extended by com.pyxis.greenhopper.jira.boards.stats.AbstractWatchedField
      extended by com.pyxis.greenhopper.jira.boards.stats.IssueCountField
All Implemented Interfaces:
WatchedField

public class IssueCountField
extends AbstractWatchedField


Field Summary
static java.lang.String ID
           
 
Fields inherited from interface com.pyxis.greenhopper.jira.boards.stats.WatchedField
ALIAS
 
Constructor Summary
IssueCountField()
           
 
Method Summary
 java.lang.String getTooltipLabel(I18n2 i18n, java.lang.Double value)
           
 java.lang.String getTooltipLabel(I18n i18n, java.lang.Double value)
          Retrieves the tooltip label of the watched field
 java.lang.Double getValue(com.atlassian.jira.issue.Issue issue)
          Retrieves the value for the specified Issue
 java.lang.Double getValue(java.lang.String luceneValue)
          Retrieves the value from the lucene value
 double getVelocity()
           
 boolean isASystemField()
           
 boolean isChartSupported()
           
 boolean isEditable()
           
 boolean isRemovable()
           
 void saveCharts(ChartBoard chartBoard)
           
 boolean shouldReportDisplay()
           
 void trash()
           
 
Methods inherited from class com.pyxis.greenhopper.jira.boards.stats.AbstractWatchedField
equals, getId, getName, hashCode, parse, render
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final java.lang.String ID
See Also:
Constant Field Values
Constructor Detail

IssueCountField

public IssueCountField()
Method Detail

getValue

public java.lang.Double getValue(com.atlassian.jira.issue.Issue issue)
Description copied from interface: WatchedField
Retrieves the value for the specified Issue

Returns:
the value for the specified Issue

getTooltipLabel

public java.lang.String getTooltipLabel(I18n i18n,
                                        java.lang.Double value)
Description copied from interface: WatchedField
Retrieves the tooltip label of the watched field

Specified by:
getTooltipLabel in interface WatchedField
Overrides:
getTooltipLabel in class AbstractWatchedField
value - the value to create the tooltip with
Returns:
the name of the watched field

getTooltipLabel

public java.lang.String getTooltipLabel(I18n2 i18n,
                                        java.lang.Double value)
Specified by:
getTooltipLabel in interface WatchedField
Overrides:
getTooltipLabel in class AbstractWatchedField

getValue

public java.lang.Double getValue(java.lang.String luceneValue)
Description copied from interface: WatchedField
Retrieves the value from the lucene value

Specified by:
getValue in interface WatchedField
Overrides:
getValue in class AbstractWatchedField
Returns:
the value from the lucene value

saveCharts

public void saveCharts(ChartBoard chartBoard)
                throws java.io.IOException
Throws:
java.io.IOException

isEditable

public boolean isEditable()
Returns:
whether or not the field can be remove

isRemovable

public boolean isRemovable()
Specified by:
isRemovable in interface WatchedField
Overrides:
isRemovable in class AbstractWatchedField
Returns:
whether or not the field can be remove

trash

public void trash()

isASystemField

public boolean isASystemField()
Returns:
whether or not it is a system field

isChartSupported

public boolean isChartSupported()
Returns:
whether or not the field supports charts

shouldReportDisplay

public boolean shouldReportDisplay()
Returns:
whether or not the field should be displayed in the reports

getVelocity

public double getVelocity()


Copyright © 2007-2013 Atlassian. All Rights Reserved.