Package com.diffplug.gradle.spotless
Class JsonExtension.JacksonJsonGradleConfig
- java.lang.Object
-
- com.diffplug.gradle.spotless.AJacksonGradleConfig
-
- com.diffplug.gradle.spotless.JsonExtension.JacksonJsonGradleConfig
-
- Enclosing class:
- JsonExtension
public static class JsonExtension.JacksonJsonGradleConfig extends AJacksonGradleConfig
-
-
Field Summary
Fields Modifier and Type Field Description protected com.diffplug.spotless.json.JacksonJsonConfig
jacksonConfig
-
Fields inherited from class com.diffplug.gradle.spotless.AJacksonGradleConfig
formatExtension, version
-
-
Constructor Summary
Constructors Constructor Description JacksonJsonGradleConfig(FormatExtension formatExtension)
JacksonJsonGradleConfig(com.diffplug.spotless.json.JacksonJsonConfig jacksonConfig, FormatExtension formatExtension)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FormatterStep
createStep()
AJacksonGradleConfig
jsonFeature(java.lang.String feature, boolean toggle)
Refers to com.fasterxml.jackson.core.JsonGenerator.Feature-
Methods inherited from class com.diffplug.gradle.spotless.AJacksonGradleConfig
feature, version
-
-
-
-
Constructor Detail
-
JacksonJsonGradleConfig
public JacksonJsonGradleConfig(com.diffplug.spotless.json.JacksonJsonConfig jacksonConfig, FormatExtension formatExtension)
-
JacksonJsonGradleConfig
public JacksonJsonGradleConfig(FormatExtension formatExtension)
-
-
Method Detail
-
jsonFeature
public AJacksonGradleConfig jsonFeature(java.lang.String feature, boolean toggle)
Refers to com.fasterxml.jackson.core.JsonGenerator.Feature
-
createStep
protected final FormatterStep createStep()
- Specified by:
createStep
in classAJacksonGradleConfig
-
-