public abstract class AbstractRewriteMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractRewriteMojo.ChangesContainer |
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
activeRecipes |
protected org.apache.maven.project.MavenProject |
project |
| Constructor and Description |
|---|
AbstractRewriteMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected org.openrewrite.Environment |
environment() |
protected AbstractRewriteMojo.ChangesContainer |
listChanges() |
protected List<Path> |
listJavaSources(String sourceDirectory) |
protected void |
logVisitorsThatMadeChanges(org.openrewrite.Change change) |
getLog, getPluginContext, setLog, setPluginContext@Parameter(defaultValue="${project}",
readonly=true,
required=true)
protected org.apache.maven.project.MavenProject project
protected org.openrewrite.Environment environment()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected AbstractRewriteMojo.ChangesContainer listChanges() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected List<Path> listJavaSources(String sourceDirectory) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void logVisitorsThatMadeChanges(org.openrewrite.Change change)
Copyright © 2020 Rewrite, Inc.. All rights reserved.