Class Scala
java.lang.Object
com.diffplug.spotless.maven.FormatterFactory
com.diffplug.spotless.maven.scala.Scala
A
FormatterFactory implementation that corresponds to <scala>...</scala> configuration element.
It defines a formatter for scala source files that can execute both language agnostic (e.g. LicenseHeader)
and scala-specific (e.g. Scalafmt) steps.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddScalafmt(Scalafmt scalafmt) defaultIncludes(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
-
Scala
public Scala()
-
-
Method Details
-
defaultIncludes
- Specified by:
defaultIncludesin classFormatterFactory
-
licenseHeaderDelimiter
- Specified by:
licenseHeaderDelimiterin classFormatterFactory
-
addScalafmt
-