Package graphql.language
Class PrettyAstPrinter.PrettyPrinterOptions
- java.lang.Object
-
- graphql.language.PrettyAstPrinter.PrettyPrinterOptions
-
- Enclosing class:
- PrettyAstPrinter
public static class PrettyAstPrinter.PrettyPrinterOptions extends java.lang.Object
Contains options that modify how a document is printed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PrettyAstPrinter.PrettyPrinterOptions.Builder
static class
PrettyAstPrinter.PrettyPrinterOptions.IndentType
-
Field Summary
Fields Modifier and Type Field Description private static PrettyAstPrinter.PrettyPrinterOptions
defaultOptions
private java.lang.String
indentText
-
Constructor Summary
Constructors Modifier Constructor Description private
PrettyPrinterOptions(PrettyAstPrinter.PrettyPrinterOptions.IndentType indentType, int indentWidth)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PrettyAstPrinter.PrettyPrinterOptions.Builder
builder()
static PrettyAstPrinter.PrettyPrinterOptions
defaultOptions()
-
-
-
Field Detail
-
indentText
private final java.lang.String indentText
-
defaultOptions
private static final PrettyAstPrinter.PrettyPrinterOptions defaultOptions
-
-
Constructor Detail
-
PrettyPrinterOptions
private PrettyPrinterOptions(PrettyAstPrinter.PrettyPrinterOptions.IndentType indentType, int indentWidth)
-
-
Method Detail
-
defaultOptions
public static PrettyAstPrinter.PrettyPrinterOptions defaultOptions()
-
builder
public static PrettyAstPrinter.PrettyPrinterOptions.Builder builder()
-
-