ProcessDeployMain { public static void main(String[] args) { FetchDeploy fetchDeploy = new FetchDeploy(); List<ProcessDeploymentQueue> pdqList = fetchDeploy.execute(args); for (ProcessDeploymentQueue list : pdqList) { LOGGER.debug("PDQ in main:" + list.getDeploymentId()); ProcessDeploy processDeploy = new ProcessDeploy(list); Thread thread = new Thread(processDeploy); thread.start(); } } private  ProcessDeployMain(); static void main(String[] args);  }
@Ignore @Test public void testMain() throws Exception { String[] args = {"--num", "2"}; ProcessDeployMain.main(args); }