public interface UserEventFactory
UserEvent
and it's subclasses.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 UserEvent newUserEventWithExtendedParams(@Nonnull Map<String,Object> params, @Nullable ApplicationUser user, int type)
UserEvent
instance with the provided arguments. The provided params
will be extended with more predefined ones.params
- a map of parameters for the eventuser
- the user this event is concerningtype
- type of the eventUserEvent
@Nonnull UserEvent newForgotPasswordEvent(@Nonnull Map<String,Object> params, @Nullable ApplicationUser user)
UserEvent
instance about an user triggering the forgot password feature,
with the provided arguments. The provided params will be extended with more predefined ones.params
- a map of parameters for the eventuser
- the user this event is concerningUserEvent
that represent a forgot password event@Nonnull UserEvent newCannotChangePasswordEvent(@Nonnull Map<String,Object> params, @Nullable ApplicationUser user)
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.params
- a map of parameters for the eventuser
- the user this event is concerningUserEvent
that represent a cannot change password event@Nonnull UserEvent newForgotUsernameEvent(@Nonnull Map<String,Object> params, @Nullable ApplicationUser user)
UserEvent
instance about an user triggering the forgot username feature,
with the provided arguments. The provided params will be extended with more predefined ones.params
- a map of parameters for the eventuser
- the user this event is concerningUserEvent
that represent a forgot username eventCopyright © 2002-2021 Atlassian. All Rights Reserved.