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; }
public MappingProcessor(IDeployAgentProvider deployAgentProvider, IDeploymentFolderSource deploymentFolderSource, IMappingEvaluator mappingEvaluator) { _deployAgentProvider = deployAgentProvider; _deploymentFolderSource = deploymentFolderSource; _mappingEvaluator = mappingEvaluator; }
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; }