public class UserEventFactoryImpl extends Object implements UserEventFactory
UserEvents or it's subclasses.| Constructor and Description |
|---|
UserEventFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
UserEvent |
newCannotChangePasswordEvent(Map<String,Object> params,
ApplicationUser user)
Creates a new
UserEvent instance about an user not being able to change password,
with the provided arguments. |
UserEvent |
newForgotPasswordEvent(Map<String,Object> params,
ApplicationUser user)
Creates a new
UserEvent instance about an user triggering the forgot password feature,
with the provided arguments. |
UserEvent |
newForgotUsernameEvent(Map<String,Object> params,
ApplicationUser user)
Creates a new
UserEvent instance about an user triggering the forgot username feature,
with the provided arguments. |
UserEvent |
newUserEventWithExtendedParams(Map<String,Object> params,
ApplicationUser user,
int type)
Creates a new
UserEvent instance with the provided arguments. |
@Nonnull public UserEvent newUserEventWithExtendedParams(@Nonnull Map<String,Object> params, @Nullable ApplicationUser user, int type)
UserEventFactoryUserEvent instance with the provided arguments. The provided params
will be extended with more predefined ones.newUserEventWithExtendedParams in interface UserEventFactoryparams - a map of parameters for the eventuser - the user this event is concerningtype - type of the eventUserEvent@Nonnull public UserEvent newForgotPasswordEvent(@Nonnull Map<String,Object> params, @Nullable ApplicationUser user)
UserEventFactoryUserEvent instance about an user triggering the forgot password feature,
with the provided arguments. The provided params will be extended with more predefined ones.newForgotPasswordEvent in interface UserEventFactoryparams - a map of parameters for the eventuser - the user this event is concerningUserEvent that represent a forgot password event@Nonnull public UserEvent newCannotChangePasswordEvent(@Nonnull Map<String,Object> params, @Nullable ApplicationUser user)
UserEventFactoryUserEvent instance about an user not being able to change password,
with the provided arguments. The provided params will be extended with more predefined ones.newCannotChangePasswordEvent in interface UserEventFactoryparams - a map of parameters for the eventuser - the user this event is concerningUserEvent that represent a cannot change password event@Nonnull public UserEvent newForgotUsernameEvent(@Nonnull Map<String,Object> params, @Nullable ApplicationUser user)
UserEventFactoryUserEvent instance about an user triggering the forgot username feature,
with the provided arguments. The provided params will be extended with more predefined ones.newForgotUsernameEvent in interface UserEventFactoryparams - a map of parameters for the eventuser - the user this event is concerningUserEvent that represent a forgot username eventCopyright © 2002-2022 Atlassian. All Rights Reserved.