io.quarkus.code.config.SegmentConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of code-quarkus Show documentation
Show all versions of code-quarkus Show documentation
Customize a Web Interface to generate Quarkus starter projects.
package io.quarkus.code.config;
import io.smallrye.config.ConfigMapping;
import java.util.Optional;
import java.util.OptionalInt;
@ConfigMapping(prefix = "io.quarkus.code.segment")
public interface SegmentConfig {
Optional writeKey();
OptionalInt flushQueueSize();
OptionalInt flushIntervalSeconds();
default String writeKeyForDisplay() {
return writeKey().filter(s -> !s.isBlank()).orElse("UNDEFINED");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy