Interface IReclaimerStrategy
Interface for calculating - what should be deleted depending on strategy params
Namespace: BuildSystem.ManagerObject.Interfaces
Assembly: BuildSystem.ManagerObject.Interfaces.dll
Syntax
public interface IReclaimerStrategy
Methods
GetDeletingPackages(List<IPackageProps>, List<string>)
Calculate - what should be deleted depending on strategy params. Params should be already set when creating instance of strategy
Declaration
List<IPackageProps> GetDeletingPackages(List<IPackageProps> packages, List<string> availableToDelete)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<><IPackageProps> | packages | List of analyzing packages |
System.Collections.Generic.List<><string> | availableToDelete | IDs of packages, which versions can be deleted |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<><IPackageProps> | List of package versions - should be deleted according to strategy rules |