public ConfigureArtifactoryServerAction() {
   serverConfigManager =
       (ServerConfigManager)
           ContainerManager.getComponent(ConstantValues.ARTIFACTORY_SERVER_CONFIG_MODULE_KEY);
   mode = "add";
   timeout = 300;
 }
 /**
  * Getter for taskConfigurationService
  *
  * @return the taskConfigurationService
  */
 private TaskConfigurationService getTaskConfigurationService() {
   if (taskConfigurationService == null) {
     taskConfigurationService =
         (TaskConfigurationService) ContainerManager.getComponent("taskConfigurationService");
   }
   return taskConfigurationService;
 }
コード例 #3
0
 public ArtifactoryIvyTask(
     final ProcessService processService,
     final EnvironmentVariableAccessor environmentVariableAccessor,
     final CapabilityContext capabilityContext,
     TestCollationService testCollationService) {
   super(testCollationService);
   this.processService = processService;
   this.environmentVariableAccessor = environmentVariableAccessor;
   this.capabilityContext = capabilityContext;
   dependencyHelper = new BuilderDependencyHelper("artifactoryIvyBuilder");
   ContainerManager.autowireComponent(dependencyHelper);
 }