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

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.CrossWatchField
All Implemented Interfaces:
WatchedField

public class CrossWatchField
extends AbstractWatchedCustomField


Field Summary
 
Fields inherited from interface com.pyxis.greenhopper.jira.boards.stats.WatchedField
ALIAS
 
Constructor Summary
CrossWatchField(CustomIssueField field)
           
 
Method Summary
 int compareTo(WatchedField field)
           
 Capacity getCapacity(PlanningBoard board)
           
 Capacity getDefaultCapacity(BoardWithCapacities board)
           
 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()
           
 void setCapacity(java.lang.String minCapacity, java.lang.String maxCapacity, VersionBoard versionBoard)
           
 void setDefaultCapacity(java.lang.String minCapacity, java.lang.String maxCapacity)
           
 void setMarker(java.lang.String value, Board board)
           
 boolean shouldReportDisplay()
           
 void trash()
           
 
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, isRemovable, parse, render
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrossWatchField

public CrossWatchField(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

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

isEditable

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

shouldReportDisplay

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

compareTo

public int compareTo(WatchedField field)

trash

public void trash()
           throws GreenHopperException
Throws:
GreenHopperException

setCapacity

public void setCapacity(java.lang.String minCapacity,
                        java.lang.String maxCapacity,
                        VersionBoard versionBoard)
                 throws GreenHopperException
Throws:
GreenHopperException

setDefaultCapacity

public void setDefaultCapacity(java.lang.String minCapacity,
                               java.lang.String maxCapacity)
                        throws GreenHopperException
Throws:
GreenHopperException

getCapacity

public Capacity getCapacity(PlanningBoard board)

getDefaultCapacity

public Capacity getDefaultCapacity(BoardWithCapacities board)

setMarker

public void setMarker(java.lang.String value,
                      Board board)
               throws GreenHopperException
Throws:
GreenHopperException

getVelocity

public double getVelocity()


Copyright © 2007-2012 Atlassian. All Rights Reserved.