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

io.bdeploy.api.product.v1.DependencyFetcher Maven / Gradle / Ivy

Go to download

Public API including dependencies, ready to be used for integrations and plugins.

There is a newer version: 7.3.6
Show newest version
package io.bdeploy.api.product.v1;

import java.util.SortedSet;

import io.bdeploy.bhive.BHive;
import io.bdeploy.bhive.model.Manifest;
import io.bdeploy.bhive.model.Manifest.Key;
import io.bdeploy.common.util.OsHelper.OperatingSystem;

/**
 * Implementors are capable of asserting that a given dependency is present in the given hive.
 */
public interface DependencyFetcher {

    /**
     * @param hive the hive the dependency should end up in
     * @param specs the dependency specs. Each is an "incomplete" manifest key as it lacks the OS name
     * @param os the OS component for the key to resolve.
     * @return all {@link Key} resolved for the given specs.
     */
    public SortedSet fetch(BHive hive, SortedSet specs, OperatingSystem os);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy