public class FreshMarkExtension extends FormatExtension
FormatExtension.ClangFormatConfig, FormatExtension.EclipseWtpConfig, FormatExtension.LicenseHeaderConfig, FormatExtension.NpmStepConfig<T extends FormatExtension.NpmStepConfig<?>>, FormatExtension.PrettierConfig
Modifier and Type | Field and Description |
---|---|
List<Action<Map<String,Object>>> |
propertyActions |
steps, target, targetExclude
Constructor and Description |
---|
FreshMarkExtension(SpotlessExtension spotless) |
Modifier and Type | Method and Description |
---|---|
void |
properties(Action<Map<String,Object>> action) |
void |
propertiesFile(Object... files) |
protected void |
setupTask(SpotlessTask task)
Sets up a format task according to the values in this extension.
|
addStep, bumpThisNumberIfACustomStepChanges, clangFormat, clangFormat, clearSteps, createIndependentApplyTask, custom, custom, eclipseWtp, eclipseWtp, encoding, endWithNewline, getEncoding, getExistingStepIdx, getLineEndings, getProject, getRatchetFrom, ignoreErrorForPath, ignoreErrorForStep, indentWithSpaces, indentWithSpaces, indentWithTabs, indentWithTabs, licenseHeader, licenseHeaderFile, noDefaultTargetException, parseTarget, prettier, prettier, prettier, provisioner, ratchetFrom, replace, replaceRegex, replaceStep, setEncoding, setEncoding, setLineEndings, setRatchetFrom, target, targetExclude, toggleOffOn, toggleOffOn, toggleOffOnDisable, toggleOffOnRegex, trimTrailingWhitespace, withinBlocks, withinBlocks, withinBlocksRegex, withinBlocksRegex
@Inject public FreshMarkExtension(SpotlessExtension spotless)
public void propertiesFile(Object... files)
protected void setupTask(SpotlessTask task)
FormatExtension
Sets up a format task according to the values in this extension.
setupTask
in class FormatExtension