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.

    @FunctionalInterface
    public static interface PlatformHook.SanityCheckCallback
    Inform the user that a sanity check or checks failed
    • Method Detail

      • sanityCheckFailed

        void sanityCheckFailed​(java.lang.String title,
                               boolean canContinue,
                               java.lang.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)