Interface CheckedUser

All Superinterfaces:
SDUser

@PublicApi public interface CheckedUser extends SDUser
Checked SDUser implementation. The wrapped ApplicationUser is guaranteed to be non-null.
  • Method Details

    • forJIRA

      @Nonnull com.atlassian.jira.user.ApplicationUser forJIRA()
      The user value can be NOT BE NULL from a CheckUser instance (as opposed to a SDUser instance)
      Specified by:
      forJIRA in interface SDUser
      Returns:
      a user that JIRA can accept which will never be null (aka anonymous)
    • getName

      String getName()
    • getKey

      String getKey()
    • getDisplayName

      String getDisplayName()
    • getEmailAddress

      String getEmailAddress()
    • asUncheckedUser

      @Nonnull UncheckedUser asUncheckedUser()
      Convert this CheckedUser into a UncheckedUser that will never be anonymous
      Returns:
      The UncheckedUser version of this SDUser
      Since:
      v3.3.0