public static enum RogLogUtil.JsonPrettyPrintStyle extends Enum<RogLogUtil.JsonPrettyPrintStyle>
RogLogUtil.JSON_CUSTOM_PRETTY_PRINTER_PROP
Enum Constant and Description |
---|
Custom
Can be used to indicate that a the custom implementation of com.fasterxml.jackson.core.PrettyPrinter
specified by
RogLogUtil.JSON_CUSTOM_PRETTY_PRINTER_PROP should be used. |
Default
Specifies the default jackson pretty printer should be used (DefaultPrettyPrinter)
|
Minimal
A minimal single line pretty printer.
|
PrettyPrint
Same as default.
|
SingleLine
A minimal single line pretty printer.
|
Modifier and Type | Method and Description |
---|---|
boolean |
usesNewLine() |
static RogLogUtil.JsonPrettyPrintStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RogLogUtil.JsonPrettyPrintStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RogLogUtil.JsonPrettyPrintStyle Default
public static final RogLogUtil.JsonPrettyPrintStyle PrettyPrint
public static final RogLogUtil.JsonPrettyPrintStyle Minimal
public static final RogLogUtil.JsonPrettyPrintStyle SingleLine
public static final RogLogUtil.JsonPrettyPrintStyle Custom
RogLogUtil.JSON_CUSTOM_PRETTY_PRINTER_PROP
should be used.public static RogLogUtil.JsonPrettyPrintStyle[] values()
for (RogLogUtil.JsonPrettyPrintStyle c : RogLogUtil.JsonPrettyPrintStyle.values()) System.out.println(c);
public static RogLogUtil.JsonPrettyPrintStyle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean usesNewLine()
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.