Example #1
0
 public Deployer(IDeployAgentProvider deployAgentProvider, IConfigurationReader reader, IAlert alert,
                 IMappingEvaluator mappingEvaluator)
 {
     _deployAgentProvider = deployAgentProvider;
     _configurationReader = reader;
     _alerter             = alert;
     _mappingEvaluator    = mappingEvaluator;
 }
 public void Setup()
 {
     _evaluator   = new MappingEvaluator();
     _mapping     = new MappingBuilder().Mapping;
     _changeEvent = new BuildStatusChangeEventBuilder
     {
         OriginalQuality = "BoringQuality",
         NewQuality      = "BoringQuality",
     }
     .BuildStatusChangeEvent;
 }
Example #3
0
 public MappingProcessor(IDeployAgentProvider deployAgentProvider, IDeploymentFolderSource deploymentFolderSource, IMappingEvaluator mappingEvaluator)
 {
     _deployAgentProvider    = deployAgentProvider;
     _deploymentFolderSource = deploymentFolderSource;
     _mappingEvaluator       = mappingEvaluator;
 }
Example #4
0
 public MappingProcessor(IMappingEvaluator mappingEvaluator, IDeploymentEventRecorder deploymentEventRecorder, Func <IMappingExecutor> executorFactory)
 {
     _mappingEvaluator        = mappingEvaluator;
     _deploymentEventRecorder = deploymentEventRecorder;
     _executorFactory         = executorFactory;
 }
 public void Setup()
 {
     _evaluator   = new MappingEvaluator();
     _mapping     = new MappingBuilder().Mapping;
     _changeEvent = new BuildStatusChangeEventBuilder().BuildStatusChangeEvent;
 }