if (typeName.equals("Mapper")) {
return new NewMapperWizard();
} else if (typeName.equals("Reducer")) {
return new NewReducerWizard();
} else if (typeName.equals("Driver")) {
return new NewDriverWizard();
} else {
log.severe("Invalid Wizard requested");
return null;
}
}