public CucumberITGenerator create ( final ParallelScheme parallelScheme ) throws MojoExecutionException { if ( ParallelScheme . FEATURE . equals ( parallelScheme ) ) { return createFileGeneratorByFeature ( ) ; } else { return createFileGeneratorByScenario ( ) ; } }
Create a CucumberITGenerator based on the given parallel scheme .