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

io.quarkiverse.operatorsdk.deployment.ControllerConfigurationsBuildItem Maven / Gradle / Ivy

There is a newer version: 6.8.4
Show newest version
package io.quarkiverse.operatorsdk.deployment;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import io.quarkiverse.operatorsdk.runtime.QuarkusControllerConfiguration;
import io.quarkus.builder.item.SimpleBuildItem;

@SuppressWarnings("rawtypes")
public final class ControllerConfigurationsBuildItem extends SimpleBuildItem {

    private final Map> controllerConfigs;

    public ControllerConfigurationsBuildItem(List controllerConfigs) {
        this.controllerConfigs = new HashMap<>(controllerConfigs.size());

        controllerConfigs.forEach(c -> this.controllerConfigs.put(c.getName(), c));
    }

    public Map> getControllerConfigs() {
        return controllerConfigs;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy