public final class JDiffRunner extends Object
Constructor and Description |
---|
JDiffRunner() |
JDiffRunner(org.apache.maven.plugin.MojoExecution mojoExec,
org.apache.maven.toolchain.ToolchainManager toolchainManager,
org.apache.maven.execution.MavenSession session,
List<org.eclipse.aether.repository.RemoteRepository> remoteRepos,
org.eclipse.aether.RepositorySystem repositorySystem,
String javadocExec) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
generateJDiffXML(Collection<File> sources,
Collection<File> classPath,
File destinationFolder,
String apiName,
Collection<String> includePackageNames) |
void |
generateReport(File srcDir,
String oldApi,
String newApi,
String javadocOld,
String javadocNew,
Set<String> packages,
File destinationDir) |
void |
runDiffBetweenReleases(String groupId,
String artifactId,
String versionRange,
File destinationFolder,
int maxNrOFDiffs) |
void |
runDiffBetweenReleases(String groupId,
String artifactId,
String version1,
String version2,
File destinationFolder,
Set<String> includePackages) |
String |
toString() |
void |
writeChangesIndexHtml(File reportOutputDirectory,
String fileName) |
public JDiffRunner()
public JDiffRunner(org.apache.maven.plugin.MojoExecution mojoExec, org.apache.maven.toolchain.ToolchainManager toolchainManager, org.apache.maven.execution.MavenSession session, List<org.eclipse.aether.repository.RemoteRepository> remoteRepos, org.eclipse.aether.RepositorySystem repositorySystem, String javadocExec)
public Set<String> generateJDiffXML(Collection<File> sources, Collection<File> classPath, File destinationFolder, String apiName, Collection<String> includePackageNames) throws JavadocExecutionException, IOException
JavadocExecutionException
IOException
public void generateReport(File srcDir, String oldApi, String newApi, String javadocOld, String javadocNew, Set<String> packages, File destinationDir) throws JavadocExecutionException, IOException
JavadocExecutionException
IOException
public void runDiffBetweenReleases(String groupId, String artifactId, String versionRange, File destinationFolder, int maxNrOFDiffs) throws org.eclipse.aether.resolution.DependencyResolutionException, org.eclipse.aether.resolution.VersionRangeResolutionException, IOException, org.eclipse.aether.resolution.ArtifactResolutionException, JavadocExecutionException
org.eclipse.aether.resolution.DependencyResolutionException
org.eclipse.aether.resolution.VersionRangeResolutionException
IOException
org.eclipse.aether.resolution.ArtifactResolutionException
JavadocExecutionException
public void runDiffBetweenReleases(String groupId, String artifactId, String version1, String version2, File destinationFolder, Set<String> includePackages) throws org.eclipse.aether.resolution.ArtifactResolutionException, org.eclipse.aether.resolution.DependencyResolutionException, IOException, JavadocExecutionException
org.eclipse.aether.resolution.ArtifactResolutionException
org.eclipse.aether.resolution.DependencyResolutionException
IOException
JavadocExecutionException
public void writeChangesIndexHtml(File reportOutputDirectory, String fileName) throws IOException
IOException
Copyright © 2018 SPF4J. All rights reserved.