io.bdeploy.api.product.v1.DependencyFetcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
Public API including dependencies, ready to be used for integrations and plugins.
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