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

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

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

import java.util.List;
import java.util.stream.Stream;

import io.quarkus.builder.item.MultiBuildItem;

final class QOSDKReflectiveClassBuildItem extends MultiBuildItem {

    private final List classNamesToRegisterForReflection;

    public QOSDKReflectiveClassBuildItem(List classNamesToRegisterForReflection) {
        this(classNamesToRegisterForReflection.toArray(new String[0]));
    }

    public QOSDKReflectiveClassBuildItem(String... classNameToRegisterForReflection) {
        this.classNamesToRegisterForReflection = List.of(classNameToRegisterForReflection);
    }

    public Stream classNamesToRegisterForReflectionStream() {
        return classNamesToRegisterForReflection.stream();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy