public abstract class

JiraWebActionSupportEvent

extends Object
java.lang.Object
   ↳ com.atlassian.jira.event.web.action.JiraWebActionSupportEvent
Known Direct Subclasses

Class Overview

Abstract event that can be used to capture analytics in subclasses of JiraWebActionSupport. The event will include the command that triggered the event, global error messages and form errors.

Summary

Public Constructors
JiraWebActionSupportEvent(JiraWebActionSupport jiraWebActionSupport)
Public Methods
String getCommand()
Collection<String> getErrorMessages()
Map<StringString> getFormErrors()
boolean isEmpty()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public JiraWebActionSupportEvent (JiraWebActionSupport jiraWebActionSupport)

Public Methods

public String getCommand ()

Returns
  • analytics property "command"

public Collection<String> getErrorMessages ()

Returns
  • analytics property errorMessages, use "errorMessages.size" and "errorMessages[0]" in the whitelist.

public Map<StringString> getFormErrors ()

Returns
  • analytics property formErrors, use "formErrors.size" in the whitelist.

public boolean isEmpty ()

Returns
  • true when the action doesn't have a command, doesn't have error message and has no form errors.