Interface UncheckedUser
- All Superinterfaces:
SDUser
Deprecated.
since 5.1.0.
SDUser which is unchecked, that is the wrapped ApplicationUser could be
null.
An UncheckedUser could be either a CheckedUser or an AnonymousUser.-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Convert thisUncheckedUserinto an optionalCheckedUser.Methods inherited from interface com.atlassian.servicedesk.api.user.SDUser
forJIRA, getLocale, i18NHelper, isAnonymous
-
Method Details
-
asCheckedUser
Deprecated.Convert thisUncheckedUserinto an optionalCheckedUser. If this is an anonymous user, thenOptional.empty()will be returned, otherwise aOptional.of(Object)containing theCheckedUser- Returns:
- The optional
CheckedUserversion of thisSDUser - Since:
- v3.3.0
-