io.quarkiverse.web.bundler.runtime.WebBundlerBuildRecorder Maven / Gradle / Ivy
package io.quarkiverse.web.bundler.runtime;
import java.util.Map;
import java.util.Set;
import java.util.function.Supplier;
import io.quarkus.runtime.annotations.Recorder;
@Recorder
public class WebBundlerBuildRecorder {
public Supplier> createContext(Map bundle) {
return new Supplier() {
@Override
public Bundle.Mapping get() {
return new Bundle.Mapping() {
@Override
public String get(String name) {
return bundle.get(name);
}
@Override
public Set names() {
return bundle.keySet();
}
};
}
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy