Layers Class — spring-boot Architecture
Architecture documentation for the Layers class in Layers.java from the spring-boot codebase.
Entity Profile
Source Code
build-plugin/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/Layers.java lines 29–57
public class Layers {
private boolean enabled = true;
private @Nullable File configuration;
/**
* Whether a {@code layers.idx} file should be added to the jar.
* @return true if a {@code layers.idx} file should be added.
*/
public boolean isEnabled() {
return this.enabled;
}
/**
* The location of the layers configuration file. If no file is provided, a default
* configuration is used with four layers: {@code application}, {@code resources},
* {@code snapshot-dependencies} and {@code dependencies}.
* @return the layers configuration file
*/
public @Nullable File getConfiguration() {
return this.configuration;
}
public void setConfiguration(@Nullable File configuration) {
this.configuration = configuration;
}
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free