public LocalOperations(
            string machineId,
            ILauncherFactory launcherFactory,
            IAppInitializedDetectorFactory appAppInitializedDetectorFactory,
            string rootForRelativePaths)
        {
            this.launcherFactory = launcherFactory;
            this.appAppInitializedDetectorFactory = appAppInitializedDetectorFactory;
            this.rootForRelativePaths             = rootForRelativePaths;

            appsState      = new Dictionary <AppIdTuple, AppState>();
            localApps      = new Dictionary <AppIdTuple, LocalApp>();
            currentPlan    = null;
            planRepo       = new List <ILaunchPlan>();
            this.machineId = machineId;
        }
Example #2
0
        public LocalOperations(
            string machineId,
            ILauncherFactory launcherFactory,
            IAppInitializedDetectorFactory appAppInitializedDetectorFactory )
        {
            this.launcherFactory = launcherFactory;
            this.appAppInitializedDetectorFactory = appAppInitializedDetectorFactory;

            appsState = new Dictionary<AppIdTuple,AppState>();
            localApps = new Dictionary<AppIdTuple,LocalApp>();
            currentPlan = null;
            planRepo = new List<ILaunchPlan>();
            this.machineId = machineId;

            launchSequencer = new LaunchSequencer();
        }
Example #3
0
 public CommandManager(ILauncherFactory factory, IPrinter printResult)
 {
     this.Factory     = factory;
     this.PrintResult = printResult;
 }