public interface Notifier
Modifier and Type | Method and Description |
---|---|
void |
error(String[] location,
String reason,
String resolution)
Reports an error that would have resulted in inconsistent or infeasible results.
|
static Notifier |
ignore()
Returns a
Notifier that ignores all conditions. |
static Notifier |
log(org.slf4j.Logger logger)
Returns a
Notifier that logs all conditions, using the given Logger . |
default String |
messageFor(String[] location,
String reason,
String resolution)
Returns a message for the given condition arguments.
|
void |
warn(String[] location,
String reason)
Reports a condition that will affect processing results
|
void warn(String[] location, String reason)
location
- The path to the location of the conditionreason
- A description of the conditionvoid error(String[] location, String reason, String resolution)
location
- The path to the location of the errorreason
- A description of the problemresolution
- A description of how the problem was resolveddefault String messageFor(String[] location, String reason, String resolution)
Copyright © 2024 The Cornutum Project. All rights reserved.