|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.statistics.TwoDimensionalStatsMap
public class TwoDimensionalStatsMap
Field Summary | |
---|---|
static String |
ASC
|
static String |
DESC
|
static String |
NATURAL_ORDER
|
static String |
TOTAL_ORDER
|
Constructor Summary | |
---|---|
TwoDimensionalStatsMap(StatisticsMapper xAxisMapper,
StatisticsMapper yAxisMapper)
|
Method Summary | |
---|---|
void |
addToEntireTotal(int i)
Increments the total count of unique issues added to this StatsMap. |
void |
addToXTotal(String xKey,
int i)
This method will increment the unique totals count for the provided xKey. |
void |
addToYTotal(String yKey,
int i)
This method will increment the unique totals count for the y row identified by yKey. |
void |
addValue(String xKey,
String yKey,
int i)
|
int |
getCoordinate(Object xAxis,
Object yAxis)
|
long |
getTotal()
Returns the additive total of all issue totals in each cell in this StatsMap. |
long |
getUniqueTotal()
Returns the value of all unique issues identified within this StatsMap. |
Collection |
getXAxis()
|
StatisticsMapper |
getxAxisMapper()
|
long |
getXAxisTotal(Object xAxis)
Returns an additive total of the identified column. |
long |
getXAxisUniqueTotal(Object xAxis)
Returns the value of unique issues contained in the column identified by xAxis. |
Collection |
getYAxis()
|
Collection |
getYAxis(Comparator comp)
|
Collection |
getYAxis(String orderBy,
String direction)
|
StatisticsMapper |
getyAxisMapper()
|
long |
getYAxisTotal(Object yAxis)
Returns an additive total of the identified column. |
long |
getYAxisUniqueTotal(Object yAxis)
Returns the value of unique issues contained in the column identified by xAxis. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TOTAL_ORDER
public static final String NATURAL_ORDER
public static final String DESC
public static final String ASC
Constructor Detail |
---|
public TwoDimensionalStatsMap(StatisticsMapper xAxisMapper, StatisticsMapper yAxisMapper)
Method Detail |
---|
public void addToXTotal(String xKey, int i)
xKey
- identifies the xValue we are keying on, null is valid.i
- the amount to increment the total by, usually 1.public void addToYTotal(String yKey, int i)
yKey
- identifies the yValue we are keying on, null is valid.i
- the amount to increment the total by, usually 1.public void addToEntireTotal(int i)
i
- the amount to increment the total by, usually 1.public void addValue(String xKey, String yKey, int i)
public Collection getXAxis()
public Collection getYAxis()
public Collection getYAxis(String orderBy, String direction)
public Collection getYAxis(Comparator comp)
public int getCoordinate(Object xAxis, Object yAxis)
public StatisticsMapper getyAxisMapper()
public StatisticsMapper getxAxisMapper()
public long getXAxisUniqueTotal(Object xAxis)
xAxis
- identifies the column who's total is requested, null is valid.
public long getYAxisUniqueTotal(Object yAxis)
yAxis
- identifies the row who's total is requested, null is valid.
public long getUniqueTotal()
public long getXAxisTotal(Object xAxis)
xAxis
- identifies the column who's total is requested, null is valid.
public long getYAxisTotal(Object yAxis)
yAxis
- identifies the row who's total is requested, null is valid.
public long getTotal()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |