Package com.diffplug.spotless.extra
Class EclipseBasedStepBuilder.State
java.lang.Object
com.diffplug.spotless.extra.EclipseBasedStepBuilder.State
- All Implemented Interfaces:
Serializable
- Enclosing class:
- EclipseBasedStepBuilder
State of Eclipse configuration items, providing functionality to derived information
based on the state.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedState(String formatterVersion, String formatterStepExt, JarState jarState, FileSignature settingsFiles) State constructor expects that all passed items are not modified afterwards -
Method Summary
Modifier and TypeMethodDescriptionGet formatter preferencesClass<?>Load class based on the given configuration of JAR provider and Maven coordinates.
-
Constructor Details
-
State
protected State(String formatterVersion, String formatterStepExt, JarState jarState, FileSignature settingsFiles) State constructor expects that all passed items are not modified afterwards
-
-
Method Details
-
getSemanticVersion
-
getPreferences
Get formatter preferences -
loadClass
Load class based on the given configuration of JAR provider and Maven coordinates. Different class loader instances are provided in the following scenarios:- The JARs (
jarState) have changes (this should only occur during development) - Different configurations (
settingsFiles) are used for different sub-projects - The same Eclipse step implementation provides different formatter types (
formatterStepExt)
- The JARs (
-