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
JavadocExecutionExceptionIOExceptionpublic void generateReport(File srcDir, String oldApi, String newApi, String javadocOld, String javadocNew, Set<String> packages, File destinationDir) throws JavadocExecutionException, IOException
JavadocExecutionExceptionIOExceptionpublic 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.DependencyResolutionExceptionorg.eclipse.aether.resolution.VersionRangeResolutionExceptionIOExceptionorg.eclipse.aether.resolution.ArtifactResolutionExceptionJavadocExecutionExceptionpublic 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.ArtifactResolutionExceptionorg.eclipse.aether.resolution.DependencyResolutionExceptionIOExceptionJavadocExecutionExceptionpublic void writeChangesIndexHtml(File reportOutputDirectory, String fileName) throws IOException
IOExceptionCopyright © 2018 SPF4J. All rights reserved.