com.atlassian.greenhopper.model.stats
Interface Capacity

All Known Implementing Classes:
BoardCapacity, NoneCapacity

public interface Capacity


Field Summary
static Capacity NONE
           
static double NONE_CAPACITY_VALUE
           
static java.lang.Double NONE_CAPACITY_VALUE_OBJECT
           
 
Method Summary
 double getExcess(Summary summary)
           
 WatchedField getField()
           
 java.lang.Double getMax()
           
 java.lang.Double getMin()
           
 java.lang.String getRenedereMaxValue()
           
 java.lang.String getRenedereMinValue()
           
 double getShortfall(Summary summary)
           
 boolean isMaxBusted(Summary summary)
           
 boolean isMaxSet()
           
 boolean isMinBusted(Summary summary)
           
 boolean isMinSet()
           
 void setDefaultCapacity(Capacity capacity)
           
 void setMax(java.lang.String max)
          Set the max value for the capacity
 void setMin(java.lang.String min)
          Set the min value for the capacity.
 

Field Detail

NONE_CAPACITY_VALUE_OBJECT

static final java.lang.Double NONE_CAPACITY_VALUE_OBJECT

NONE_CAPACITY_VALUE

static final double NONE_CAPACITY_VALUE
See Also:
Constant Field Values

NONE

static final Capacity NONE
Method Detail

getField

WatchedField getField()

setDefaultCapacity

void setDefaultCapacity(Capacity capacity)

isMinSet

boolean isMinSet()

isMaxSet

boolean isMaxSet()

getMin

java.lang.Double getMin()

getMax

java.lang.Double getMax()

setMin

void setMin(java.lang.String min)
Set the min value for the capacity.

Parameters:
min - the min value as a String in the format parsable by the WatchedField.

setMax

void setMax(java.lang.String max)
Set the max value for the capacity

Parameters:
max - the max value as a String in a format parsable by the WatchedField

getRenedereMinValue

java.lang.String getRenedereMinValue()

getRenedereMaxValue

java.lang.String getRenedereMaxValue()

getShortfall

double getShortfall(Summary summary)

getExcess

double getExcess(Summary summary)

isMinBusted

boolean isMinBusted(Summary summary)

isMaxBusted

boolean isMaxBusted(Summary summary)


Copyright © 2007-2014 Atlassian. All Rights Reserved.