|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StatisticsField
Represents an instance of a StatisticsFieldConfig
for a RapidView
. This should be used when "resolving"
the configuration of the Statistics Field in a request which requires real knowledge of how that configuration works
at run-time. Specifically, if a StatisticsFieldConfig
has type StatisticsFieldConfig.Type.JIRA_FIELD
,
the configuration will only tell you the ID of the field used, but this object will allow you to resolve the proper
name of that configuration, provided that the field is still around at this point.
isValid()
will be false.
StatisticsFieldService
,
EstimateStatisticService
,
StatisticsFieldConfig
Method Summary | |
---|---|
StatisticsFieldConfig |
getConfig()
Returns the configuration associated with this instance. |
java.lang.String |
getDisplayName(I18n2 i18n)
Get the display name of this instance |
java.lang.String |
getDocumentId()
Note: behaviour is only determined for this method when isValid() is true. |
com.atlassian.jira.issue.fields.Field |
getField()
Returns the field that the configuration refers to, if it is still available at this time. |
boolean |
isEnabled()
Note: this method cannot return true if isValid() is false. |
boolean |
isFieldBased()
|
boolean |
isValid()
|
Method Detail |
---|
StatisticsFieldConfig getConfig()
java.lang.String getDisplayName(I18n2 i18n)
i18n
- the i18n bean
boolean isFieldBased()
com.atlassian.jira.issue.fields.Field getField()
boolean isValid()
boolean isEnabled()
isValid()
is false.
java.lang.String getDocumentId()
isValid()
is true.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |