com.atlassian.jira.project.statistics
Interface StatisticType
- All Superinterfaces:
- java.util.Comparator
- All Known Implementing Classes:
- AbstractStatisticType
- public interface StatisticType
- extends java.util.Comparator
Interface for StatisticTypes.
- See Also:
TypeOpenByAffectedVersion
,
TypeOpenByAssignee
,
TypeOpenByComponent
,
TypeOpenByFixVersion
,
TypeOpenByPriority
,
TypeStatus
Methods inherited from interface java.util.Comparator |
compare, equals |
STATUS
public static final StatisticType STATUS
OPEN_BY_PRIORITY
public static final StatisticType OPEN_BY_PRIORITY
OPEN_BY_ASSIGNEE
public static final StatisticType OPEN_BY_ASSIGNEE
OPEN_BY_COMPONENT
public static final StatisticType OPEN_BY_COMPONENT
OPEN_BY_FIX_VERSION
public static final StatisticType OPEN_BY_FIX_VERSION
OPEN_BY_AFFECTED_VERSION
public static final StatisticType OPEN_BY_AFFECTED_VERSION
calculateStatisticsCollection
public StatisticCollection calculateStatisticsCollection(ProjectStatistics projectStats,
GenericValue securityLevel)
- Calculate the statistics collection for the current
StatisticType
amendCollection
public void amendCollection(StatisticCollection statisticCollection,
StatisticsUpdateEvent event)
throws StatisticOutOfDateException
- Amends the
StatisticCollection
dependent on the value of the StatisticsUpdateEvent
- Throws:
StatisticOutOfDateException
decrementStatisticInCollectionWithSecurityType
public void decrementStatisticInCollectionWithSecurityType(StatisticCollection statCollection,
Statistic statistic,
GenericValue issue)
throws StatisticOutOfDateException
- Throws:
StatisticOutOfDateException
incrementStatisticInCollectionWithSecurityType
public void incrementStatisticInCollectionWithSecurityType(StatisticCollection statCollection,
java.lang.String key,
StatisticSecurityType statisticType,
GenericValue issue)
throws StatisticOutOfDateException
- Throws:
StatisticOutOfDateException