Class JiraBasicStatsAnalyticTask
java.lang.Object
com.atlassian.jira.service.services.analytics.start.JiraBasicStatsAnalyticTask
- All Implemented Interfaces:
JiraAnalyticTask
This task will calculate basic counts over objects and will return its values
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCalculates the analytics and return a map with all the properties.voidinit()Method where the task will grab all the classes from the contextbooleanReturn true if this task reports JIRA database size any usage statistics.
-
Constructor Details
-
JiraBasicStatsAnalyticTask
public JiraBasicStatsAnalyticTask()
-
-
Method Details
-
init
public void init()Description copied from interface:JiraAnalyticTaskMethod where the task will grab all the classes from the context- Specified by:
initin interfaceJiraAnalyticTask
-
getAnalytics
Description copied from interface:JiraAnalyticTaskCalculates the analytics and return a map with all the properties.- Specified by:
getAnalyticsin interfaceJiraAnalyticTask- Returns:
- a map with the properties to add to the start event
-
isReportingDataShape
public boolean isReportingDataShape()Description copied from interface:JiraAnalyticTaskReturn true if this task reports JIRA database size any usage statistics. If true it will be included into <database-statistics> section of Support ZIP by code inExtendedSystemInfoUtilsImpl.getUsageStats().- Specified by:
isReportingDataShapein interfaceJiraAnalyticTask
-