Package net.sf.pipet.api.ModuleInterface

Examples of net.sf.pipet.api.ModuleInterface.ModuleConfigurator.configure()


    {
      ModuleConfigurator configurator = mod.getInterface().getPipelineConfigurator(interface_type);
      if (configurator == null)
        return false;
     
      if (!configurator.configure(mod, new Vector<ModuleDefinition>(getModules()), reporter))
        return false;
     
      changed();
      return true;
    }
View Full Code Here


        addAttributes(mod, parameters);
      mod.setValue(ModuleInterface.ATT_PIPELINE_NAME, new UntypedValue(pipeline.getName()));
      try
      {
        ModuleConfigurator modconf = mod.getInterface().getRuntimeConfigurator(interface_type);
        if (modconf == null || modconf.configure(mod, new Vector<ModuleDefinition>(pipeline.getModules()), reporter))
          runmods.add(mod);
        else
        {
          reporter.debug(String.format("Configuration of %s failed.", mod.toString()));
          return false;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.