public static class EclipseBasedStepBuilder.State extends Object implements Serializable
State of Eclipse configuration items, providing functionality to derived information based on the state.
| Modifier | Constructor and Description |
|---|---|
protected |
State(String formatterStepExt,
Provisioner jarProvisioner,
List<String> dependencies,
Iterable<File> settingsFiles)
State constructor expects that all passed items are not modified afterwards
|
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getMavenCoordinate(String prefix)
Returns first coordinate from sorted set that starts with a given prefix.
|
Properties |
getPreferences()
Get formatter preferences
|
Class<?> |
loadClass(String name)
Load class based on the given configuration of JAR provider and Maven coordinates.
|
protected State(String formatterStepExt, Provisioner jarProvisioner, List<String> dependencies, Iterable<File> settingsFiles) throws IOException
State constructor expects that all passed items are not modified afterwards
IOExceptionpublic Properties getPreferences()
Get formatter preferences
public Optional<String> getMavenCoordinate(String prefix)
Returns first coordinate from sorted set that starts with a given prefix.
public Class<?> loadClass(String name)
Load class based on the given configuration of JAR provider and Maven coordinates. Different class loader instances are provided in the following scenarios:
jarState) have changes (this should only occur during development)settingsFiles) are used for different sub-projectsformatterStepExt)