public class UserEventFactoryImpl extends Object implements UserEventFactory
UserEvent
s 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)
UserEventFactory
UserEvent
instance with the provided arguments. The provided params
will be extended with more predefined ones.newUserEventWithExtendedParams
in interface UserEventFactory
params
- 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)
UserEventFactory
UserEvent
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 UserEventFactory
params
- 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)
UserEventFactory
UserEvent
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 UserEventFactory
params
- 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)
UserEventFactory
UserEvent
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 UserEventFactory
params
- a map of parameters for the eventuser
- the user this event is concerningUserEvent
that represent a forgot username eventCopyright © 2002-2024 Atlassian. All Rights Reserved.