class GlobalLauncher implements ILauncher {

    public void launch(final String[] cmdArgs, final String moduleName, final String className) throws APIRestGeneratorException
    {
        final GenerationParameters genParams      = new GenerationParameters();

        // Parse the command line arguments
        this.parseAndValidateCommandLine(cmdArgs);

        // Apply the common parameters to the parsed information
        this.applyCommonParameters(genParams);

        // Get the schemas parser and parse the information
        final ParsedInfo parsedInfo               = ParserUtil.getSchemasParser(genParams).parse();

        // Create an instance of ParsedInfoHandler to control the calls
        final ParsedInfoHandler parsedInfoHandler = new ParsedInfoHandler(parsedInfo);

        // Create and run the global generator
        final GeneratorGlobal generator           = new GeneratorGlobal(genParams, parsedInfoHandler);

        // Run the generation
        generator.start(moduleName, className);

    }

}