Package com.atlassian.jira.bc
Interface JiraServiceContext
- All Known Implementing Classes:
JiraServiceContextImpl
@PublicApi
public interface JiraServiceContext
This is a context that provides information to calls to the JIRA service layer.
-
Method Summary
Modifier and TypeMethodDescriptionGets an error collection.Get an I18nHelper for localising text.Returns the User who has invoked the JIRA service method.
-
Method Details
-
getErrorCollection
ErrorCollection getErrorCollection()Gets an error collection. This should be used to report any human-readable errors that occur in a JIRA service method call.- Returns:
- errorCollection
-
getLoggedInApplicationUser
ApplicationUser getLoggedInApplicationUser()Returns the User who has invoked the JIRA service method.- Returns:
- user who is performing the operation (can be null).
-
getI18nBean
I18nHelper getI18nBean()Get an I18nHelper for localising text.- Returns:
- an I18nHelper for localising text.
- Since:
- v3.13
-