Class UserSeedChangeListener

  • All Implemented Interfaces:
    ExtensionPoint

    @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
    public abstract class UserSeedChangeListener
    extends Object
    implements ExtensionPoint
    Listener notified when a user was requested to changed their seed
    • Constructor Detail

      • UserSeedChangeListener

        public UserSeedChangeListener()
    • Method Detail

      • onUserSeedRenewed

        public abstract void onUserSeedRenewed​(@NonNull
                                               User user)
        Called after a seed was changed but before the user is saved.
        Parameters:
        user - The target user
      • fireUserSeedRenewed

        public static void fireUserSeedRenewed​(@NonNull
                                               User user)
        Will notify all the registered listeners about the event
        Parameters:
        user - The target user