Class Protobuf
java.lang.Object
com.diffplug.spotless.maven.FormatterFactory
com.diffplug.spotless.maven.protobuf.Protobuf
A
FormatterFactory implementation that corresponds to <protobuf>...</protobuf>
configuration element.
It defines a formatter for protobuf source files that can execute both language agnostic (e.g.
LicenseHeader) and protobuf-specific (e.g. Buf) steps.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddefaultIncludes(org.apache.maven.project.MavenProject project) Methods inherited from class com.diffplug.spotless.maven.FormatterFactory
addEclipseWtp, addEndWithNewline, addIdea, addIndent, addJsr223, addLicenseHeader, addNativeCmd, addPrettier, addReplace, addReplaceRegex, addStepFactory, addToggleOffOn, addTrimTrailingWhitespace, excludes, includes, init, newFormatter
-
Constructor Details
-
Protobuf
public Protobuf()
-
-
Method Details
-
defaultIncludes
- Specified by:
defaultIncludesin classFormatterFactory
-
licenseHeaderDelimiter
- Specified by:
licenseHeaderDelimiterin classFormatterFactory
-
addBuf
-
addClang
-