xyz.block.ftl.deployment.CommentsBuildItem Maven / Gradle / Ivy
package xyz.block.ftl.deployment;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import io.quarkus.builder.item.SimpleBuildItem;
public final class CommentsBuildItem extends SimpleBuildItem {
final Map> comments;
public CommentsBuildItem(Map> comments) {
this.comments = comments;
}
public Iterable getComments(String name) {
return comments.getOrDefault(name, List.of());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy