com.atlassian.greenhopper.model.rapid
Class StatisticsFieldConfig
java.lang.Object
com.atlassian.greenhopper.model.rapid.AbstractModel
com.atlassian.greenhopper.model.rapid.StatisticsFieldConfig
public class StatisticsFieldConfig
- extends AbstractModel
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:
StatisticsFieldService
,
StatisticsFieldInstance
,
StatisticsFieldAO
Fields inherited from class com.atlassian.greenhopper.model.rapid.AbstractModel |
id |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
getType
public StatisticsFieldConfig.Type getType()
getFieldId
public java.lang.String getFieldId()
- The ID of the field used insuper(id); this configuration, e.g.
customfield_10000
.
Will be blank if type is StatisticsFieldConfig.Type.NONE
, StatisticsFieldConfig.Type.ISSUE_COUNT
or StatisticsFieldConfig.Type.ISSUE_COUNT_EXCL_SUBS
.
- Returns:
- the String ID.
builder
public static StatisticsFieldConfig.StatisticsFieldConfigBuilder builder()
buildNone
public static StatisticsFieldConfig buildNone()
buildIssueCount
public static StatisticsFieldConfig buildIssueCount()
buildIssueCountExcludingSubs
public static StatisticsFieldConfig buildIssueCountExcludingSubs()
Copyright © 2007-2014 Atlassian. All Rights Reserved.