All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkiverse.roq.frontmatter.deployment.RoqFrontMatterOutputBuildItem Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
package io.quarkiverse.roq.frontmatter.deployment;

import java.util.Map;
import java.util.function.Supplier;

import io.quarkiverse.roq.frontmatter.runtime.model.Page;
import io.quarkiverse.roq.frontmatter.runtime.model.RoqCollections;
import io.quarkus.builder.item.SimpleBuildItem;

public final class RoqFrontMatterOutputBuildItem extends SimpleBuildItem {

    private final Map> allPagesByPath;
    private final Supplier roqCollectionsSupplier;

    public RoqFrontMatterOutputBuildItem(Map> allPagesByPath,
            Supplier roqCollectionsSupplier) {
        this.allPagesByPath = allPagesByPath;
        this.roqCollectionsSupplier = roqCollectionsSupplier;
    }

    public Map> allPagesByPath() {
        return allPagesByPath;
    }

    public Supplier roqCollectionsSupplier() {
        return roqCollectionsSupplier;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy