Class MessageNotifier


  • public final class MessageNotifier
    extends java.lang.Object
    Notifies user periodically of new received (unread) messages
    Since:
    6349
    • Method Detail

      • start

        public static void start()
        Starts the message notifier task if not already started and if user is fully identified
      • stop

        public static void stop()
        Stops the message notifier task if started
      • isRunning

        public static boolean isRunning()
        Determines if the message notifier is currently running
        Returns:
        true if the notifier is running, false otherwise
      • isUserEnoughIdentified

        public static boolean isUserEnoughIdentified()
        Determines if user set enough information in JOSM preferences to make the request to OSM API without prompting him for a password.
        Returns:
        true if user chose an OAuth token or supplied both its username and password, false otherwise