public DeploymentObserver(JiraDeployment jiraDeployment,
                           IMediator mediator,
                           ITaskLogFactory taskLogFactory)
 {
     this.jiraDeployment = jiraDeployment;
     this.mediator       = mediator;
     this.taskLogFactory = taskLogFactory;
 }
Exemple #2
0
 public string FindNameForLogFactory(ITaskLogFactory logFactory)
 {
     string name;
     if (LogFactoryNames.TryGetValue(logFactory, out name)) {
         return name;
     } else {
         return null;
     }
 }
Exemple #3
0
        public string FindNameForLogFactory(ITaskLogFactory logFactory)
        {
            string name;

            if (LogFactoryNames.TryGetValue(logFactory, out name))
            {
                return(name);
            }
            else
            {
                return(null);
            }
        }
 public JiraDeployment(
     IMediator mediator,
     ITaskLogFactory taskLogFactory,
     IJiraConfigurationStore store,
     JiraConnectAppClient connectAppClient,
     IInstallationIdProvider installationIdProvider,
     IClock clock,
     IProvideDeploymentEnvironmentSettingsValues deploymentEnvironmentSettingsProvider,
     IServerConfigurationStore serverConfigurationStore,
     IOctopusHttpClientFactory octopusHttpClientFactory
     )
 {
     this.mediator               = mediator;
     this.taskLogFactory         = taskLogFactory;
     this.store                  = store;
     this.connectAppClient       = connectAppClient;
     this.installationIdProvider = installationIdProvider;
     this.clock                  = clock;
     this.deploymentEnvironmentSettingsProvider = deploymentEnvironmentSettingsProvider;
     this.serverConfigurationStore = serverConfigurationStore;
     this.octopusHttpClientFactory = octopusHttpClientFactory;
 }
 public void RegisterLogFactory(string name, ITaskLogFactory logFactory)
 {
     LogFactories.Add(name, logFactory);
 }
Exemple #6
0
 public void RegisterLogFactory(string name, ITaskLogFactory logFactory)
 {
     LogFactories.Add(name, logFactory);
     LogFactoryNames.Add(logFactory, name);
 }