A B C D E F G H I J L M P R S V X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addPlatformRepo(P2Model, String) - Method in class com.diffplug.spotless.extra.EquoBasedStepBuilder
B
- build() - Method in class com.diffplug.spotless.extra.EclipseBasedStepBuilder
-
Returns the FormatterStep (whose state will be calculated lazily).
- build() - Method in class com.diffplug.spotless.extra.EquoBasedStepBuilder
-
Returns the FormatterStep (whose state will be calculated lazily).
- builder() - Static method in class com.diffplug.spotless.extra.integration.DiffMessageFormatter
C
- close() - Method in class com.diffplug.spotless.extra.GitRatchet
- com.diffplug.spotless.extra - package com.diffplug.spotless.extra
- com.diffplug.spotless.extra.cpp - package com.diffplug.spotless.extra.cpp
- com.diffplug.spotless.extra.groovy - package com.diffplug.spotless.extra.groovy
- com.diffplug.spotless.extra.integration - package com.diffplug.spotless.extra.integration
-
Integration code for plugins.
- com.diffplug.spotless.extra.java - package com.diffplug.spotless.extra.java
- com.diffplug.spotless.extra.wtp - package com.diffplug.spotless.extra.wtp
- create(File, Supplier<Iterable<File>>) - Static method in class com.diffplug.spotless.extra.GitAttributesLineEndings
-
Creates a line-endings policy whose serialized state is relativized against projectDir, at the cost of eagerly evaluating the line-ending state of every target file when the policy is checked for equality with another policy.
- createBuilder(Provisioner) - Static method in class com.diffplug.spotless.extra.cpp.EclipseCdtFormatterStep
-
Provides default configuration
- createBuilder(Provisioner) - Static method in class com.diffplug.spotless.extra.groovy.GrEclipseFormatterStep
- createBuilder(Provisioner) - Static method in class com.diffplug.spotless.extra.java.EclipseJdtFormatterStep
- createBuilder(Provisioner) - Method in enum com.diffplug.spotless.extra.wtp.EclipseWtpFormatterStep
- createFastAllSame(File, Supplier<Iterable<File>>) - Static method in class com.diffplug.spotless.extra.GitAttributesLineEndings
-
Creates a line-endings policy which matches
GitAttributesLineEndings.create(File, Supplier), which is much faster at the cost that every file under the policy is assumed to have the same line endings as the first file. - CSS - com.diffplug.spotless.extra.wtp.EclipseWtpFormatterStep
D
- defaultVersion() - Static method in class com.diffplug.spotless.extra.cpp.EclipseCdtFormatterStep
- defaultVersion() - Static method in class com.diffplug.spotless.extra.groovy.GrEclipseFormatterStep
- defaultVersion() - Static method in class com.diffplug.spotless.extra.java.EclipseJdtFormatterStep
- defaultVersion() - Static method in enum com.diffplug.spotless.extra.wtp.EclipseWtpFormatterStep
- diff(Formatter, File) - Static method in class com.diffplug.spotless.extra.integration.DiffMessageFormatter
-
Returns a map entry with value being a git-style diff between the contents of the given file and what those contents would look like if formatted using the given formatter.
- DiffMessageFormatter - Class in com.diffplug.spotless.extra.integration
-
Formats the messages of failed spotlessCheck invocations with a nice diff message.
- DiffMessageFormatter.Builder - Class in com.diffplug.spotless.extra.integration
E
- EclipseBasedStepBuilder - Class in com.diffplug.spotless.extra
-
Generic Eclipse based formatter step
EclipseBasedStepBuilder.Statebuilder. - EclipseBasedStepBuilder(String, Provisioner, ThrowingEx.Function<EclipseBasedStepBuilder.State, FormatterFunc>) - Constructor for class com.diffplug.spotless.extra.EclipseBasedStepBuilder
-
Initialize valid default configuration, taking latest version
- EclipseBasedStepBuilder(String, String, Provisioner, ThrowingEx.Function<EclipseBasedStepBuilder.State, FormatterFunc>) - Constructor for class com.diffplug.spotless.extra.EclipseBasedStepBuilder
-
Initialize valid default configuration, taking latest version
- EclipseBasedStepBuilder.State - Class in com.diffplug.spotless.extra
-
State of Eclipse configuration items, providing functionality to derived information based on the state.
- EclipseCdtFormatterStep - Class in com.diffplug.spotless.extra.cpp
-
Formatter step which calls out to the Eclipse CDT formatter.
- EclipseJdtFormatterStep - Class in com.diffplug.spotless.extra.java
-
Formatter step which calls out to the Eclipse JDT formatter.
- EclipseWtpFormatterStep - Enum in com.diffplug.spotless.extra.wtp
-
Formatter step which calls out to the Groovy-Eclipse formatter.
- EquoBasedStepBuilder - Class in com.diffplug.spotless.extra
-
Generic Eclipse based formatter step
EquoBasedStepBuilder.Statebuilder. - EquoBasedStepBuilder(String, Provisioner, ThrowingEx.Function<EquoBasedStepBuilder.State, FormatterFunc>) - Constructor for class com.diffplug.spotless.extra.EquoBasedStepBuilder
-
Deprecated.if you use this constructor you *must* call
EquoBasedStepBuilder.setVersion(String)before callingEquoBasedStepBuilder.build() - EquoBasedStepBuilder(String, Provisioner, String, ThrowingEx.Function<EquoBasedStepBuilder.State, FormatterFunc>) - Constructor for class com.diffplug.spotless.extra.EquoBasedStepBuilder
-
Initialize valid default configuration, taking latest version
- EquoBasedStepBuilder.State - Class in com.diffplug.spotless.extra
-
State of Eclipse configuration items, providing functionality to derived information based on the state.
F
- formatter(Formatter) - Method in class com.diffplug.spotless.extra.integration.DiffMessageFormatter.Builder
- formatterFolder(Path, Path, String) - Method in class com.diffplug.spotless.extra.integration.DiffMessageFormatter.Builder
G
- getDir(Project) - Method in class com.diffplug.spotless.extra.GitRatchet
- getJarState() - Method in class com.diffplug.spotless.extra.EquoBasedStepBuilder.State
- getMavenCoordinate(String) - Method in class com.diffplug.spotless.extra.EclipseBasedStepBuilder.State
-
Returns first coordinate from sorted set that starts with a given prefix.
- getMessage() - Method in class com.diffplug.spotless.extra.integration.DiffMessageFormatter.Builder
-
Returns the error message.
- getParent(Project) - Method in class com.diffplug.spotless.extra.GitRatchet
- getPreferences() - Method in class com.diffplug.spotless.extra.EclipseBasedStepBuilder.State
-
Get formatter preferences
- getPreferences() - Method in class com.diffplug.spotless.extra.EquoBasedStepBuilder.State
- getPrefix() - Method in class com.diffplug.spotless.extra.P2Mirror
- getSemanticVersion() - Method in class com.diffplug.spotless.extra.EclipseBasedStepBuilder.State
- getSemanticVersion() - Method in class com.diffplug.spotless.extra.EquoBasedStepBuilder.State
- getUrl() - Method in class com.diffplug.spotless.extra.P2Mirror
- GitAttributesLineEndings - Class in com.diffplug.spotless.extra
-
Uses .gitattributes to determine the appropriate line ending.
- GitRatchet<Project> - Class in com.diffplug.spotless.extra
-
How to use: - For best performance, you should have one instance of GitRatchet, shared by all projects.
- GitRatchet() - Constructor for class com.diffplug.spotless.extra.GitRatchet
- GitWorkarounds - Class in com.diffplug.spotless.extra
-
Utility methods for Git workarounds.
- GrEclipseFormatterStep - Class in com.diffplug.spotless.extra.groovy
-
Formatter step which calls out to the Groovy-Eclipse formatter.
H
- HTML - com.diffplug.spotless.extra.wtp.EclipseWtpFormatterStep
I
- isClean(Project, ObjectId, File) - Method in class com.diffplug.spotless.extra.GitRatchet
- isClean(Project, ObjectId, String) - Method in class com.diffplug.spotless.extra.GitRatchet
-
This is the highest-level method, which all the others serve.
J
- JS - com.diffplug.spotless.extra.wtp.EclipseWtpFormatterStep
- JSON - com.diffplug.spotless.extra.wtp.EclipseWtpFormatterStep
L
- loadClass(String) - Method in class com.diffplug.spotless.extra.EclipseBasedStepBuilder.State
-
Load class based on the given configuration of JAR provider and Maven coordinates.
M
- MAX_FILES_TO_LIST - Static variable in class com.diffplug.spotless.extra.integration.DiffMessageFormatter
- model(String) - Method in class com.diffplug.spotless.extra.EquoBasedStepBuilder
P
- P2Mirror - Class in com.diffplug.spotless.extra
- P2Mirror() - Constructor for class com.diffplug.spotless.extra.P2Mirror
- problemFiles(List<File>) - Method in class com.diffplug.spotless.extra.integration.DiffMessageFormatter.Builder
R
- repositoryFor(Project) - Method in class com.diffplug.spotless.extra.GitRatchet
-
The first part of making this fast is finding the appropriate git repository quickly.
- rootTreeShaOf(Project, String) - Method in class com.diffplug.spotless.extra.GitRatchet
-
Fast way to return treeSha of the given ref against the git repository which stores the given project.
- runToFix(String) - Method in class com.diffplug.spotless.extra.integration.DiffMessageFormatter.Builder
-
"Run 'gradlew spotlessApply' to fix these violations."
S
- setP2Mirrors(Collection<P2Mirror>) - Method in class com.diffplug.spotless.extra.EquoBasedStepBuilder
- setP2Mirrors(Map<String, String>) - Method in class com.diffplug.spotless.extra.EquoBasedStepBuilder
- setPreferences(Iterable<File>) - Method in class com.diffplug.spotless.extra.EclipseBasedStepBuilder
-
Set settings files containing Eclipse preferences
- setPreferences(Iterable<File>) - Method in class com.diffplug.spotless.extra.EquoBasedStepBuilder
- setVersion(String) - Method in class com.diffplug.spotless.extra.EclipseBasedStepBuilder
-
Set dependencies for the corresponding Eclipse version
- setVersion(String) - Method in class com.diffplug.spotless.extra.EquoBasedStepBuilder
- State(String, JarState, FileSignature) - Constructor for class com.diffplug.spotless.extra.EquoBasedStepBuilder.State
- State(String, String, Provisioner, List<String>, Iterable<File>) - Constructor for class com.diffplug.spotless.extra.EclipseBasedStepBuilder.State
-
State constructor expects that all passed items are not modified afterwards
- subtreeShaOf(Project, ObjectId) - Method in class com.diffplug.spotless.extra.GitRatchet
-
Returns the sha of the git subtree which represents the root of the given project, or
ObjectId.zeroId()if there is no git subtree at the project root.
V
- valueOf(String) - Static method in enum com.diffplug.spotless.extra.wtp.EclipseWtpFormatterStep
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.diffplug.spotless.extra.wtp.EclipseWtpFormatterStep
-
Returns an array containing the constants of this enum type, in the order they are declared.
X
- XML - com.diffplug.spotless.extra.wtp.EclipseWtpFormatterStep
All Classes All Packages