private void checkParameters ( Plugin plugin ) throws MojoExecutionException { // Fail if 'parallel' parameter is used. if ( isParallelOn ( plugin ) ) { throw new MojoExecutionException ( "Ekstazi currently does not support parallel parameter" ) ; } // Fail if fork is disabled. if ( isForkDisabled ( plugin ) ) { throw new MojoExecutionException ( "forkCount has to be at least 1" ) ; } }
Checks that all parameters are set as expected .