@FunctionalInterface
public interface PrettyPrintable
PrettyPrintable can print itself on a format suitable for Gradle build scripts using a
GradlePrettyPrinter.| Modifier and Type | Method and Description |
|---|---|
void |
prettyPrint(GradlePrettyPrinter pPrinter)
Pretty print this instance with a
GradlePrettyPrinter on a format suitable for build
scripts. |
static java.lang.String |
quote(java.lang.String pValue)
Enclose a value in quotes and escape any quotes in the value.
|
void prettyPrint(GradlePrettyPrinter pPrinter)
GradlePrettyPrinter on a format suitable for build
scripts.pPrinter - The printer to print with.java.lang.NullPointerException - if pPrinter is null.static java.lang.String quote(java.lang.String pValue)
pValue - The value quote.