@Test public void testRebuild_ContainerWithNoProperties() throws Exception { InterlokLauncher launcher = new InterlokLauncher(new String[] { "--container" }); String[] rebuild = launcher.rebuildArgs(); assertEquals(0, rebuild.length); }
protected String[] rebuildArgs() throws Exception { String[] rebuiltArgs = commandLine .remove(ARG_ADAPTER_CLASSPATH) .remove(ARG_IGNORE_SUBDIRS) .convertToNormal(ARG_FAILOVER) .convertToNormal(ARG_CONTAINER) .convertToNormal(ARG_PASSWORD) .render(); debug("Args for Main-Class : ", Arrays.asList(rebuiltArgs)); return rebuiltArgs; }
InterlokLauncher extends Launcher { protected String[] rebuildArgs() throws Exception { String[] rebuiltArgs = commandLine .remove(ARG_ADAPTER_CLASSPATH) .remove(ARG_IGNORE_SUBDIRS) .convertToNormal(ARG_FAILOVER) .convertToNormal(ARG_CONTAINER) .convertToNormal(ARG_PASSWORD) .render(); debug("Args for Main-Class : ", Arrays.asList(rebuiltArgs)); return rebuiltArgs; } }
InterlokLauncher extends Launcher { protected String[] rebuildArgs() throws Exception { String[] rebuiltArgs = commandLine .remove(ARG_ADAPTER_CLASSPATH) .remove(ARG_IGNORE_SUBDIRS) .convertToNormal(ARG_FAILOVER) .convertToNormal(ARG_CONTAINER) .convertToNormal(ARG_PASSWORD) .render(); debug("Args for Main-Class : ", Arrays.asList(rebuiltArgs)); return rebuiltArgs; } InterlokLauncher(String[] argv); }
InterlokLauncher extends Launcher { protected String[] rebuildArgs() throws Exception { String[] rebuiltArgs = commandLine .remove(ARG_ADAPTER_CLASSPATH) .remove(ARG_IGNORE_SUBDIRS) .convertToNormal(ARG_FAILOVER) .convertToNormal(ARG_CONTAINER) .convertToNormal(ARG_PASSWORD) .render(); debug("Args for Main-Class : ", Arrays.asList(rebuiltArgs)); return rebuiltArgs; } InterlokLauncher(String[] argv); static void main(String[] args); }
InterlokLauncher extends Launcher { protected String[] rebuildArgs() throws Exception { String[] rebuiltArgs = commandLine .remove(ARG_ADAPTER_CLASSPATH) .remove(ARG_IGNORE_SUBDIRS) .convertToNormal(ARG_FAILOVER) .convertToNormal(ARG_CONTAINER) .convertToNormal(ARG_PASSWORD) .render(); debug("Args for Main-Class : ", Arrays.asList(rebuiltArgs)); return rebuiltArgs; } InterlokLauncher(String[] argv); static void main(String[] args);  }