|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.service.issue.callback.AbstractCompoundDataCallback com.atlassian.greenhopper.service.issue.callback.AbstractColumnStatisticsCallback
public abstract class AbstractColumnStatisticsCallback
Common parent class for callbacks which accumulate column constraint statistics. All column statistic callbacks accumulate values per column of a board.
ColumnStatisticsCallbackFactory
Constructor Summary | |
---|---|
AbstractColumnStatisticsCallback(java.util.Map<java.lang.String,Column> columnsByStatusId)
|
Method Summary | |
---|---|
protected void |
fieldData(java.lang.Long issueId,
java.lang.String issueKey,
IssueFieldValueProvider data)
This callback is being called for every issue that matches the query. |
java.util.Set<java.lang.String> |
getFields()
Get the lucene fields required by this component |
protected abstract java.lang.Double |
getStatisticsValue(java.lang.Long issueId,
java.lang.String issueKey,
IssueFieldValueProvider data)
Compute the statistics value for this column constraint based on the document data. |
java.util.Map<Column,java.lang.Double> |
getStatisticsValuesByColumn()
|
void |
processFieldData(java.lang.Long issueId,
java.lang.String issueKey,
IssueFieldValueProvider data,
RapidIssueEntry entry)
Implementing RapidIssueEntryCallbackComponent.processFieldData(Long, String, IssueFieldValueProvider, com.atlassian.greenhopper.web.rapid.list.RapidIssueEntry)
so that we can store the column constraint statistic value for this issue against the RapidIssueEntry . |
Methods inherited from class com.atlassian.greenhopper.service.issue.callback.AbstractCompoundDataCallback |
---|
fieldData, issueComplete |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractColumnStatisticsCallback(java.util.Map<java.lang.String,Column> columnsByStatusId)
Method Detail |
---|
public java.util.Set<java.lang.String> getFields()
RapidIssueEntryCallbackComponent
getFields
in interface IssueDataCallback
getFields
in interface RapidIssueEntryCallbackComponent
protected void fieldData(java.lang.Long issueId, java.lang.String issueKey, IssueFieldValueProvider data)
AbstractCompoundDataCallback
fieldData
in class AbstractCompoundDataCallback
data
- : The data from the document that matches our selected fields.public void processFieldData(java.lang.Long issueId, java.lang.String issueKey, IssueFieldValueProvider data, RapidIssueEntry entry)
RapidIssueEntryCallbackComponent.processFieldData(Long, String, IssueFieldValueProvider, com.atlassian.greenhopper.web.rapid.list.RapidIssueEntry)
so that we can store the column constraint statistic value for this issue against the RapidIssueEntry
.
processFieldData
in interface RapidIssueEntryCallbackComponent
issueId
- the issue IDissueKey
- the issue keydata
- the data map for the documententry
- the entry to update@Nonnull protected abstract java.lang.Double getStatisticsValue(java.lang.Long issueId, java.lang.String issueKey, IssueFieldValueProvider data)
issueId
- issue IDissueKey
- issue Keydata
- all document data
public java.util.Map<Column,java.lang.Double> getStatisticsValuesByColumn()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |