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

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

public class DefaultWatchedField
extends AbstractWatchedCustomField


Field Summary
 
Fields inherited from interface com.pyxis.greenhopper.jira.boards.stats.WatchedField
ALIAS
 
Constructor Summary
DefaultWatchedField(CustomIssueField field)
           
DefaultWatchedField(CustomIssueField field, boolean isRemovable)
           
 
Method Summary
 java.lang.Double getValue(com.atlassian.jira.issue.Issue issue)
          Retrieves the value for the specified Issue
 double getVelocity()
           
 boolean isASystemField()
           
 boolean isChartSupported()
           
 boolean isEditable()
           
 boolean isRemovable()
           
 boolean shouldReportDisplay()
           
 
Methods inherited from class com.pyxis.greenhopper.jira.boards.stats.AbstractWatchedCustomField
getField
 
Methods inherited from class com.pyxis.greenhopper.jira.boards.stats.AbstractWatchedField
equals, getId, getName, getTooltipLabel, getTooltipLabel, getValue, hashCode, parse, render
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultWatchedField

public DefaultWatchedField(CustomIssueField field,
                           boolean isRemovable)

DefaultWatchedField

public DefaultWatchedField(CustomIssueField field)
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

getVelocity

public double getVelocity()

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

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


Copyright © 2007-2012 Atlassian. All Rights Reserved.