Package org.openstreetmap.josm.tools
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
sanityCheckFailed(java.lang.String title, boolean canContinue, java.lang.String... message)
Tells the user that a sanity check 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 showcanContinue
-true
if the failed sanity check(s) will not instantly kill JOSM when the user editsmessage
- The message parts to show the user (as a list)
-
-