public final class DataPolice extends Object
The GNU Lesser General Public License for details.| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOGGER
The log stream
|
private static boolean |
reporting
Whether to report problems or not.
|
| Modifier | Constructor and Description |
|---|---|
private |
DataPolice()
Prevent instantiation
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isReporting() |
static void |
report(Book book,
Key key,
String message)
Report a message against the current book and key.
|
static void |
setReporting(boolean reporting) |
private static boolean reporting
private static final org.slf4j.Logger LOGGER
public static void report(Book book, Key key, String message)
book - the book against which to reportkey - the key against which to reportmessage - the police report.public static boolean isReporting()
public static void setReporting(boolean reporting)
reporting - Turn on reporting of found problems