@Deprecated public XmlOutputGenerator(List<JApiClass> jApiClasses, Options options, boolean createSchemaFile) { super(options, jApiClasses); this.xmlOutputGeneratorOptions = new XmlOutputGeneratorOptions(); this.xmlOutputGeneratorOptions.setCreateSchemaFile(createSchemaFile); }
@Deprecated public XmlOutputGenerator(List<JApiClass> jApiClasses, Options options, boolean createSchemaFile) { super(options, jApiClasses); this.xmlOutputGeneratorOptions = new XmlOutputGeneratorOptions(); this.xmlOutputGeneratorOptions.setCreateSchemaFile(createSchemaFile); }
XmlOutputGeneratorOptions xmlOptions = new XmlOutputGeneratorOptions(); XmlOutputGenerator xmlOutputGenerator = new XmlOutputGenerator(jApiClasses, options, xmlOptions); XmlOutput xmlOutput = xmlOutputGenerator.generate();
private XmlOutput generateXmlOutput(List<JApiClass> jApiClasses, File jApiCmpBuildDir, Options options, MavenParameters mavenParameters, PluginParameters pluginParameters) throws IOException { String filename = createFilename(mavenParameters); if (!skipXmlReport(pluginParameters)) { options.setXmlOutputFile(Optional.of(jApiCmpBuildDir.getCanonicalPath() + File.separator + filename + ".xml")); } if (!skipHtmlReport(pluginParameters)) { options.setHtmlOutputFile(Optional.of(jApiCmpBuildDir.getCanonicalPath() + File.separator + filename + ".html")); } SemverOut semverOut = new SemverOut(options, jApiClasses); XmlOutputGeneratorOptions xmlOutputGeneratorOptions = new XmlOutputGeneratorOptions(); xmlOutputGeneratorOptions.setCreateSchemaFile(true); xmlOutputGeneratorOptions.setSemanticVersioningInformation(semverOut.generate()); if (pluginParameters.getParameterParam() != null) { String optionalTitle = pluginParameters.getParameterParam().getHtmlTitle(); xmlOutputGeneratorOptions.setTitle(optionalTitle!=null ?optionalTitle :options.getDifferenceDescription()); } XmlOutputGenerator xmlGenerator = new XmlOutputGenerator(jApiClasses, options, xmlOutputGeneratorOptions); return xmlGenerator.generate(); }
XmlOutputGeneratorOptions xmlOutputGeneratorOptions = new XmlOutputGeneratorOptions(); xmlOutputGeneratorOptions.setCreateSchemaFile(true); xmlOutputGeneratorOptions.setSemanticVersioningInformation(semverOut.generate());
XmlOutputGeneratorOptions xmlOutputGeneratorOptions = new XmlOutputGeneratorOptions(); xmlOutputGeneratorOptions.setCreateSchemaFile(true); xmlOutputGeneratorOptions.setSemanticVersioningInformation(semverOut.generate());
XmlOutputGeneratorOptions xmlOutputGeneratorOptions = new XmlOutputGeneratorOptions(); xmlOutputGeneratorOptions.setCreateSchemaFile(true); xmlOutputGeneratorOptions.setSemanticVersioningInformation(semverOut.generate());