public override DeploymentTask CreateDeploymentTask(IObjectFactory objectFactory)
 {
     return
         (new DeployUberDeployerAgentDeploymentTask(
              objectFactory.CreateProjectInfoRepository(),
              objectFactory.CreateEnvironmentInfoRepository(),
              objectFactory.CreateArtifactsRepository(),
              objectFactory.CreateNtServiceManager(),
              objectFactory.CreatePasswordCollector(),
              objectFactory.CreateFailoverClusterManager(),
              objectFactory.CreateDirectoryAdapter(),
              objectFactory.CreateFileAdapter(),
              objectFactory.CreateZipFileAdapter()));
 }
 public override DeploymentTask CreateDeploymentTask(IObjectFactory objectFactory)
 {
     return
     new DeployNtServiceDeploymentTask(
       objectFactory.CreateProjectInfoRepository(),
       objectFactory.CreateEnvironmentInfoRepository(),
       objectFactory.CreateArtifactsRepository(),
       objectFactory.CreateNtServiceManager(),
       objectFactory.CreatePasswordCollector(),
       objectFactory.CreateFailoverClusterManager(),
       objectFactory.CreateDirectoryAdapter(),
       objectFactory.CreateFileAdapter(),
       objectFactory.CreateZipFileAdapter());
 }
Example #3
0
        public override DeploymentTask CreateDeploymentTask(IObjectFactory objectFactory)
        {
            if (objectFactory == null)
            {
                throw new ArgumentNullException("objectFactory");
            }

            return
                (new DeploySchedulerAppDeploymentTask(
                     objectFactory.CreateProjectInfoRepository(),
                     objectFactory.CreateEnvironmentInfoRepository(),
                     objectFactory.CreateArtifactsRepository(),
                     objectFactory.CreateTaskScheduler(),
                     objectFactory.CreatePasswordCollector(),
                     objectFactory.CreateDirectoryAdapter(),
                     objectFactory.CreateFileAdapter(),
                     objectFactory.CreateZipFileAdapter()));
        }
        public override DeploymentTask CreateDeploymentTask(IObjectFactory objectFactory, string projectConfigurationName, string projectConfigurationBuildId, string targetEnvironmentName)
        {
            if (objectFactory == null)
              {
            throw new ArgumentNullException("objectFactory");
              }

              return
            new DeployNtServiceDeploymentTask(
              objectFactory.CreateEnvironmentInfoRepository(),
              objectFactory.CreateArtifactsRepository(),
              objectFactory.CreateNtServiceManager(),
              objectFactory.CreatePasswordCollector(),
              objectFactory.CreateFailoverClusterManager(),
              this,
              projectConfigurationName,
              projectConfigurationBuildId,
              targetEnvironmentName);
        }
        public override DeploymentTask CreateDeploymentTask(IObjectFactory objectFactory)
        {
            if (objectFactory == null)
              {
            throw new ArgumentNullException("objectFactory");
              }

              return
            new DeploySchedulerAppDeploymentTask(
              objectFactory.CreateProjectInfoRepository(),
              objectFactory.CreateEnvironmentInfoRepository(),
              objectFactory.CreateArtifactsRepository(),
              objectFactory.CreateTaskScheduler(),
              objectFactory.CreatePasswordCollector(),
              objectFactory.CreateDirectoryAdapter(),
              objectFactory.CreateFileAdapter(),
              objectFactory.CreateZipFileAdapter());
        }