Class JiraWebActionSupportEvent
java.lang.Object
com.atlassian.jira.event.web.action.JiraWebActionSupportEvent
- Direct Known Subclasses:
ProjectImportWebAnalyticsEvent
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.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JiraWebActionSupportEvent
-
-
Method Details
-
isEmpty
public boolean isEmpty()- Returns:
- true when the action doesn't have a command, doesn't have error message and has no form errors.
-
getCommand
- Returns:
- analytics property "command"
-
getErrorMessages
- Returns:
- analytics property errorMessages, use "errorMessages.size" and "errorMessages[0]" in the whitelist.
-
getFormErrors
- Returns:
- analytics property formErrors, use "formErrors.size" in the whitelist.
-