public class

ReportUptimeAnalyticsTask

extends Object
implements JiraAnalyticTask
java.lang.Object
   ↳ com.atlassian.jira.service.services.analytics.stop.ReportUptimeAnalyticsTask

Class Overview

Task to report instance uptime on shutdown

Summary

Public Constructors
ReportUptimeAnalyticsTask()
Public Methods
Map<StringObject> getAnalytics()
Calculates the analytics and return a map with all the properties.
void init()
Method where the task will grab all the classes from the context
boolean isReportingDataShape()
Return true if this task reports JIRA database size any usage statistics.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.service.services.analytics.JiraAnalyticTask

Public Constructors

public ReportUptimeAnalyticsTask ()

Public Methods

public Map<StringObject> getAnalytics ()

Calculates the analytics and return a map with all the properties.

Returns
  • a map with the properties to add to the start event

public void init ()

Method where the task will grab all the classes from the context

public boolean isReportingDataShape ()

Return true if this task reports JIRA database size any usage statistics. If true it will be included into section of Support ZIP by code in getUsageStats().