public class RemainingField extends AbstractWatchedField
Modifier and Type | Field and Description |
---|---|
static String |
ID |
ALIAS
Constructor and Description |
---|
RemainingField() |
Modifier and Type | Method and Description |
---|---|
String |
getTooltipLabel(I18n2 i18n,
Double value) |
String |
getTooltipLabel(I18n i18n,
Double value)
Retrieves the tooltip label of the watched field
|
Double |
getValue(com.atlassian.jira.issue.Issue issue)
Retrieves the value for the specified Issue
|
Double |
getValue(String luceneValue)
Retrieves the value from the lucene value
|
double |
getVelocity() |
boolean |
isASystemField() |
boolean |
isChartSupported() |
boolean |
isEditable() |
boolean |
isRemovable() |
Double |
parse(String value)
Parses the value into a Double
|
String |
render(Double value)
Renders the value into a displayable String
|
void |
saveCharts(ChartBoard chartBoard) |
boolean |
shouldReportDisplay() |
void |
trash() |
equals, getId, getName, hashCode
public static final String ID
public String getTooltipLabel(I18n i18n, Double value)
WatchedField
getTooltipLabel
in interface WatchedField
getTooltipLabel
in class AbstractWatchedField
value
- the value to create the tooltip withpublic String getTooltipLabel(I18n2 i18n, Double value)
getTooltipLabel
in interface WatchedField
getTooltipLabel
in class AbstractWatchedField
public Double getValue(com.atlassian.jira.issue.Issue issue)
WatchedField
public Double getValue(String luceneValue)
WatchedField
getValue
in interface WatchedField
getValue
in class AbstractWatchedField
public void saveCharts(ChartBoard chartBoard) throws IOException
IOException
public boolean isEditable()
public void trash()
public boolean isASystemField()
public boolean isChartSupported()
public boolean shouldReportDisplay()
public double getVelocity()
public boolean isRemovable()
isRemovable
in interface WatchedField
isRemovable
in class AbstractWatchedField
public String render(Double value)
WatchedField
render
in interface WatchedField
render
in class AbstractWatchedField
value
- to renderpublic Double parse(String value) throws GreenHopperException
WatchedField
parse
in interface WatchedField
parse
in class AbstractWatchedField
value
- to parseGreenHopperException
Copyright © 2007–2015 Atlassian. All rights reserved.