Class StatisticsFieldConfig
java.lang.Object
com.atlassian.greenhopper.model.rapid.AbstractModel
com.atlassian.greenhopper.model.rapid.StatisticsFieldConfig
- All Implemented Interfaces:
com.atlassian.jira.entity.WithId
Represents the configuration of a Statistics Field for a
RapidView. This configuration closely maps to its
representation in persisted storage, namely StatisticsFieldAO.
Note that if you wish to resolve the name of the Statistics Field, you have to get a handle on the StatisticsFieldInstance
for this configuration. This can be done using
StatisticsFieldService.getInstanceOfField(StatisticsFieldConfig)- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThere are three types of configuration:StatisticsFieldConfig.Type.NONE- no statistics will be calculated for theRapidViewStatisticsFieldConfig.Type.ISSUE_COUNT- issues (including sub-tasks) will simply be counted per columnStatisticsFieldConfig.Type.ISSUE_COUNT_EXCL_SUBS- issues which are not sub-tasks will be counted per columnStatisticsFieldConfig.Type.JIRA_FIELD- the values stored within the specified JIRA field will be accumulated per column -
Field Summary
Fields inherited from class com.atlassian.greenhopper.model.rapid.AbstractModel
idFields inherited from interface com.atlassian.jira.entity.WithId
ID_COMPARATOR -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static StatisticsFieldConfigstatic StatisticsFieldConfigstatic StatisticsFieldConfigThe ID of the field used insuper(id); this configuration, e.g.getType()Methods inherited from class com.atlassian.greenhopper.model.rapid.AbstractModel
equals, getId, hashCode, toString
-
Method Details
-
getType
-
getFieldId
The ID of the field used insuper(id); this configuration, e.g.customfield_10000. Will be blank if type isStatisticsFieldConfig.Type.NONE,StatisticsFieldConfig.Type.ISSUE_COUNTorStatisticsFieldConfig.Type.ISSUE_COUNT_EXCL_SUBS.- Returns:
- the String ID.
-
builder
-
buildNone
-
buildIssueCount
-
buildIssueCountExcludingSubs
-