com.pyxis.greenhopper.jira.boards.stats
Class RemainingField
java.lang.Object
com.pyxis.greenhopper.jira.boards.stats.AbstractWatchedField
com.pyxis.greenhopper.jira.boards.stats.RemainingField
- All Implemented Interfaces:
- WatchedField
public class RemainingField
- extends AbstractWatchedField
|
Field Summary |
static java.lang.String |
ID
|
| Fields inherited from interface com.pyxis.greenhopper.jira.boards.stats.WatchedField |
ALIAS |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
RemainingField
public RemainingField()
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(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
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
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()
isRemovable
public boolean isRemovable()
- Specified by:
isRemovable in interface WatchedField- Overrides:
isRemovable in class AbstractWatchedField
- Returns:
- whether or not the field can be remove
render
public java.lang.String render(java.lang.Double value)
- Description copied from interface:
WatchedField
- Renders the value into a displayable String
- Specified by:
render in interface WatchedField- Overrides:
render in class AbstractWatchedField
- Parameters:
value - to render
- Returns:
- the value rendered.
parse
public java.lang.Double parse(java.lang.String value)
throws GreenHopperException
- Description copied from interface:
WatchedField
- Parses the value into a Double
- Specified by:
parse in interface WatchedField- Overrides:
parse in class AbstractWatchedField
- Parameters:
value - to parse
- Returns:
- the value parsed.
- Throws:
GreenHopperException
Copyright © 2007-2012 Atlassian. All Rights Reserved.