Interface UserChangeActivityEvent

  • All Superinterfaces:
    Event, UserEvent


    public interface UserChangeActivityEvent
    extends UserEvent
    A user change activity event.
    • Method Detail

      • getOldActivity

        Optional<Activity> getOldActivity​()
        Gets the old activity of the user.
        Returns:
        The old activity of the user.
      • getNewActivity

        Optional<Activity> getNewActivity​()
        Gets the new activity of the user.
        Returns:
        The new activity of the user.