Service Class — spring-boot Architecture
Architecture documentation for the Service class in GraylogExtendedLogFormatProperties.java from the spring-boot codebase.
Entity Profile
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/logging/structured/GraylogExtendedLogFormatProperties.java lines 85–99
public record Service(@Nullable String version) {
static final Service NONE = new Service(null);
Service withDefaults(Environment environment) {
String version = withFallbackProperty(environment, this.version, "spring.application.version");
return new Service(version);
}
@SuppressWarnings("NullAway") // Doesn't detect lambda with correct nullability
void jsonMembers(JsonWriter.Members<?> members) {
members.add("_service_version", this::version).whenHasLength();
}
}
Domain
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free