public class DependenciesCalculatorV1 extends java.lang.Object implements DependenciesCalculator
Constructor and Description |
---|
DependenciesCalculatorV1(InstallPackageService installService) |
Modifier and Type | Method and Description |
---|---|
void |
addInstalledPackage(PackageInfo packageInfo) |
void |
addInstalledPackage(PackageInfo[] packages) |
void |
addPackageToInstall(java.util.Collection<PackageInfo> packages) |
void |
addPackageToInstall(PackageInfo packageInfo) |
void |
calculate() |
java.util.List<PackageInfo> |
getConflictPackages() |
java.util.List<PackageInfo> |
getRequiredPackages() |
Dependencies |
getUnresolvedDependencies() |
public DependenciesCalculatorV1(InstallPackageService installService)
public void addPackageToInstall(PackageInfo packageInfo)
addPackageToInstall
in interface DependenciesCalculator
public void addPackageToInstall(java.util.Collection<PackageInfo> packages)
addPackageToInstall
in interface DependenciesCalculator
public void addInstalledPackage(PackageInfo packageInfo)
addInstalledPackage
in interface DependenciesCalculator
public void addInstalledPackage(PackageInfo[] packages)
addInstalledPackage
in interface DependenciesCalculator
public void calculate()
calculate
in interface DependenciesCalculator
public java.util.List<PackageInfo> getRequiredPackages()
getRequiredPackages
in interface DependenciesCalculator
public java.util.List<PackageInfo> getConflictPackages()
getConflictPackages
in interface DependenciesCalculator
public Dependencies getUnresolvedDependencies()
getUnresolvedDependencies
in interface DependenciesCalculator