Code example for SyncTaskExecutor

1
		} 
		else { 
			TaskExecutorPartitionHandler partitionHandler = new TaskExecutorPartitionHandler(); 
			partitionHandler.setStep(this.step); 
			if (taskExecutor == null) { 
				taskExecutor = new SyncTaskExecutor(); 
			} 
			partitionHandler.setGridSize(gridSize); 
			partitionHandler.setTaskExecutor(taskExecutor); 
			step.setPartitionHandler(partitionHandler); 
		} 
 
		if (splitter != null) { 
			step.setStepExecutionSplitter(splitter); 
		} 
		else { 
 
			boolean allowStartIfComplete = isAllowStartIfComplete(); 
			String name = stepName; 
			if (this.step != null) { 
Experience pair programming with AI  Get Codota for Java