public override void Execute(ProjectConfigProcessContext processContext)
        {
            processContext.ThrowIfNull(nameof(processContext));

            processContext.ProjectConfig.SetDefaltValues();
            _projectConfigsStorage.SaveNewProjectConfig(processContext.ProjectConfig);
        }
Exemplo n.º 2
0
        public override void Execute(ProjectConfigProcessContext processContext)
        {
            processContext.ThrowIfNull(nameof(processContext));

            ChangeIdProcessArgs projectConfigProcessArgs = processContext.ProcessArgs as ChangeIdProcessArgs;

            _projectConfigsStorage.ChangeId(projectConfigProcessArgs.Id, projectConfigProcessArgs.NewId);
        }
        public override void Execute(ProjectConfigProcessContext processContext)
        {
            processContext.ThrowIfNull(nameof(processContext));

            ProjectConfigProcessArgs projectConfigProcessArgs = processContext.ProcessArgs as ProjectConfigProcessArgs;

            _projectConfigsStorage.RemoveProjectConfig(projectConfigProcessArgs.Id);
        }
Exemplo n.º 4
0
        public override void Execute(ProjectConfigProcessContext processContext)
        {
            processContext.ThrowIfNull(nameof(processContext));

            ResolveFolderExist(processContext.ProjectConfig.BackupFolderPath);

            if (processContext.ProjectConfig.DevEnvironment)
            {
                ResolveFolderExist(processContext.ProjectConfig.DevScriptsBaseFolderPath);
                ResolveFolderExist(processContext.ProjectConfig.IncrementalScriptsFolderPath);
                ResolveFolderExist(processContext.ProjectConfig.RepeatableScriptsFolderPath);
                ResolveFolderExist(processContext.ProjectConfig.DevDummyDataScriptsFolderPath);

                ResolveFolderExist(processContext.ProjectConfig.DeployArtifactFolderPath);
            }
            else
            {
                ResolveFolderExist(processContext.ProjectConfig.DeliveryArtifactFolderPath);
            }
        }