Interface SDUser

All Known Subinterfaces:
AnonymousUser, CheckedUser, UncheckedUser

@PublicApi public interface SDUser
Jira Service Management Application User wrapper.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.atlassian.jira.user.ApplicationUser
    Casts a Jira Service Management user instance to Jira user instance.
     
    com.atlassian.jira.util.I18nHelper
     
    boolean
     
  • Method Details

    • isAnonymous

      boolean isAnonymous()
      Returns:
      true if the underlying user is anonymous - eg [[com.atlassian.servicedesk.internal.user.SDUser.forJIRA]] returns null
    • forJIRA

      @Nullable com.atlassian.jira.user.ApplicationUser forJIRA()
      Casts a Jira Service Management user instance to Jira user instance. The user value can be null, when dealing with anonymous users, for ex.
      Returns:
      Jira user instance
    • i18NHelper

      com.atlassian.jira.util.I18nHelper i18NHelper()
    • getLocale

      Locale getLocale()