blob: 1774a58efadfced88c29aa7882761c6961555e38 [file] [log] [blame]
Adrià Vilanova Martínez58cc67c2024-04-21 16:43:01 +02001import DependenciesProviderSingleton, { Dependency } from "../../dependenciesProvider/DependenciesProvider";
2import Script from "../Script";
3
Adrià Vilanova Martínez8b591d92024-10-19 15:55:15 +02004/**
5 * @deprecated
6 */
Adrià Vilanova Martínez58cc67c2024-04-21 16:43:01 +02007export default abstract class SetUpDependenciesScript extends Script {
8 abstract dependencies: Dependency[];
9
10 execute() {
11 const dependenciesProvider = DependenciesProviderSingleton.getInstance();
12 this.dependencies.forEach(dependency => {
13 dependenciesProvider.setUpDependency(dependency);
14 });
15 }
16}