@Deprecated public class CssExtension extends FormatExtension implements HasBuiltinDelimiterForLicense
The CSS extension is deprecated. Use the generic FormatExtension instead.
| Modifier and Type | Class and Description |
|---|---|
class |
CssExtension.EclipseConfig
Deprecated.
|
FormatExtension.EclipseWtpConfig, FormatExtension.LicenseFileHeaderConfig, FormatExtension.LicenseHeaderConfig, FormatExtension.LicenseStringHeaderConfig, FormatExtension.NpmStepConfig<T extends FormatExtension.NpmStepConfig<?>>, FormatExtension.PrettierConfigsteps, target, targetExclude| Constructor and Description |
|---|
CssExtension(SpotlessExtension rootExtension)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
CssExtension.EclipseConfig |
eclipse()
Deprecated.
|
CssExtension.EclipseConfig |
eclipse(String version)
Deprecated.
|
FormatExtension.LicenseHeaderConfig |
licenseHeader(String licenseHeader)
Deprecated.
|
FormatExtension.LicenseHeaderConfig |
licenseHeaderFile(Object licenseHeaderFile)
Deprecated.
|
protected void |
setupTask(SpotlessTask task)
Deprecated.
Sets up a format task according to the values in this extension.
|
addStep, bumpThisNumberIfACustomStepChanges, clearSteps, createIndependentTask, custom, custom, customLazy, customLazyGroovy, eclipseWtp, eclipseWtp, encoding, endWithNewline, getEncoding, getExistingStep, getExistingStepIdx, getLineEndings, getProject, ignoreErrorForPath, ignoreErrorForStep, indentWithSpaces, indentWithSpaces, indentWithTabs, indentWithTabs, licenseHeader, licenseHeaderFile, paddedCell, paddedCell, parseTarget, prettier, prettier, prettier, replace, replaceRegex, replaceStep, setEncoding, setEncoding, setLineEndings, target, targetExclude, trimTrailingWhitespacepublic CssExtension(SpotlessExtension rootExtension)
public CssExtension.EclipseConfig eclipse()
public CssExtension.EclipseConfig eclipse(String version)
protected void setupTask(SpotlessTask task)
FormatExtensionSets up a format task according to the values in this extension.
setupTask in class FormatExtensionpublic FormatExtension.LicenseHeaderConfig licenseHeader(String licenseHeader)
licenseHeader in interface HasBuiltinDelimiterForLicenselicenseHeader - Content that should be at the top of every file.public FormatExtension.LicenseHeaderConfig licenseHeaderFile(Object licenseHeaderFile)
licenseHeaderFile in interface HasBuiltinDelimiterForLicenselicenseHeaderFile - Content that should be at the top of every file.