/** * TestConfig constructor. * * <p>Creates a copy from the TestConfig specified. * * @param t the data to copy */ public TestConfig(TestConfig t) { name = t.getName(); description = t.getDescription(); plugIn = new PlugInConfig(t.getPlugIn()); args = new HashMap(); if (t.getArgs() != null) { Iterator i = t.getArgs().keySet().iterator(); while (i.hasNext()) { String key = (String) i.next(); // TODO clone value. args.put(key, new ArgumentConfig((ArgumentConfig) t.getArgs().get(key))); } } }