Interface PlatformHook.SanityCheckCallback

Enclosing interface:
PlatformHook
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Inform the user that a sanity check or checks failed
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    sanityCheckFailed(String title, boolean canContinue, String... message)
    Tells the user that a sanity check failed
  • Method Details

    • sanityCheckFailed

      void sanityCheckFailed(String title, boolean canContinue, String... message)
      Tells the user that a sanity check failed
      Parameters:
      title - The title of the message to show
      canContinue - true if the failed sanity check(s) will not instantly kill JOSM when the user edits
      message - The message parts to show the user (as a list)