Index
All Classes and Interfaces|All Packages
A
- AbstractRewriteDryRunMojo - Class in org.openrewrite.maven
-
Base mojo for rewrite:dryRun and rewrite:dryRunNoFork.
- AbstractRewriteDryRunMojo() - Constructor for class org.openrewrite.maven.AbstractRewriteDryRunMojo
- AbstractRewriteMojo - Class in org.openrewrite.maven
- AbstractRewriteMojo() - Constructor for class org.openrewrite.maven.AbstractRewriteMojo
- AbstractRewriteMojo.ResultsContainer - Class in org.openrewrite.maven
- AbstractRewriteRunMojo - Class in org.openrewrite.maven
-
Run the configured recipes and apply the changes locally.
- AbstractRewriteRunMojo() - Constructor for class org.openrewrite.maven.AbstractRewriteRunMojo
- activeRecipes - Variable in class org.openrewrite.maven.ConfigurableRewriteMojo
- activeStyles - Variable in class org.openrewrite.maven.ConfigurableRewriteMojo
- addChild(String) - Method in class org.openrewrite.maven.ui.RecipeDescriptorTree
- addChild(RecipeDescriptorTree) - Method in class org.openrewrite.maven.ui.RecipeDescriptorTree
- addPath(Iterable<RecipeDescriptor>) - Method in class org.openrewrite.maven.ui.RecipeDescriptorTree
- addPath(RecipeDescriptor) - Method in class org.openrewrite.maven.ui.RecipeDescriptorTree
- afterSyntax(Marker, Cursor, UnaryOperator<String>) - Method in class org.openrewrite.maven.SanitizedMarkerPrinter
- artifactId - Variable in class org.openrewrite.maven.ConfigureMojo
- artifactId - Variable in class org.openrewrite.maven.InitMojo
- artifactId - Variable in class org.openrewrite.maven.RemoveMojo
- ArtifactResolver - Class in org.openrewrite.maven
- ArtifactResolver(RepositorySystem, MavenSession) - Constructor for class org.openrewrite.maven.ArtifactResolver
B
- beforeSyntax(Marker, Cursor, UnaryOperator<String>) - Method in class org.openrewrite.maven.SanitizedMarkerPrinter
- buildSettings() - Method in class org.openrewrite.maven.MavenMojoProjectParser
C
- checkstyleConfigFile - Variable in class org.openrewrite.maven.ConfigurableRewriteMojo
- checkstyleDetectionEnabled - Variable in class org.openrewrite.maven.ConfigurableRewriteMojo
- close() - Method in class org.openrewrite.maven.MavenLoggingMeterRegistry
- close() - Method in class org.openrewrite.maven.MeterRegistryProvider
- compareTo(RecipeDescriptorTree) - Method in class org.openrewrite.maven.ui.RecipeDescriptorTree
- configLocation - Variable in class org.openrewrite.maven.ConfigurableRewriteMojo
- ConfigurableRewriteMojo - Class in org.openrewrite.maven
- ConfigurableRewriteMojo() - Constructor for class org.openrewrite.maven.ConfigurableRewriteMojo
- configuration - Variable in class org.openrewrite.maven.ConfigureMojo
- configuration - Variable in class org.openrewrite.maven.InitMojo
- ConfigureMojo - Class in org.openrewrite.maven
-
Configure rewrite-maven-plugin (or any other plugin) in the project.
For example:
./mvnw rewrite:configure -DactiveRecipes=org.openrewrite.java.spring.boot2.SpringBoot1To2Migration -Ddependencies=org.openrewrite.recipe:rewrite-spring:4.17.0 - ConfigureMojo() - Constructor for class org.openrewrite.maven.ConfigureMojo
- createArtifact(String) - Method in class org.openrewrite.maven.ArtifactResolver
- CycloneDxBomMojo - Class in org.openrewrite.maven
-
Generate a CycloneDx bill of materials outlining the project's dependencies, including transitive dependencies.
- CycloneDxBomMojo() - Constructor for class org.openrewrite.maven.CycloneDxBomMojo
D
- defaultHistogramConfig() - Method in class org.openrewrite.maven.MavenLoggingMeterRegistry
- dependencies - Variable in class org.openrewrite.maven.ConfigureMojo
- dependencies - Variable in class org.openrewrite.maven.InitMojo
E
- environment() - Method in class org.openrewrite.maven.AbstractRewriteMojo
- environment(ClassLoader) - Method in class org.openrewrite.maven.AbstractRewriteMojo
- execute() - Method in class org.openrewrite.maven.AbstractRewriteDryRunMojo
- execute() - Method in class org.openrewrite.maven.AbstractRewriteRunMojo
- execute() - Method in class org.openrewrite.maven.ConfigureMojo
- execute() - Method in class org.openrewrite.maven.CycloneDxBomMojo
- execute() - Method in class org.openrewrite.maven.InitMojo
- execute() - Method in class org.openrewrite.maven.RemoveMojo
- execute() - Method in class org.openrewrite.maven.rewrite_maven_plugin.HelpMojo
- execute() - Method in class org.openrewrite.maven.RewriteDiscoverMojo
- execute() - Method in class org.openrewrite.maven.RewriteDumpMavenSettings
- execute(Collection<RecipeDescriptor>) - Method in class org.openrewrite.maven.ui.RecipeDescriptorTreePrompter
- executionContext() - Method in class org.openrewrite.maven.AbstractRewriteMojo
- executionGoals - Variable in class org.openrewrite.maven.ConfigureMojo
- executionGoals - Variable in class org.openrewrite.maven.InitMojo
- executionPhase - Variable in class org.openrewrite.maven.ConfigureMojo
- executionPhase - Variable in class org.openrewrite.maven.InitMojo
F
- failOnInvalidActiveRecipes - Variable in class org.openrewrite.maven.ConfigurableRewriteMojo
-
Whether to throw an exception if an activeRecipe fails configuration validation.
G
- getActiveRecipes() - Method in class org.openrewrite.maven.ConfigurableRewriteMojo
- getActiveStyles() - Method in class org.openrewrite.maven.ConfigurableRewriteMojo
- getBaseTimeUnit() - Method in class org.openrewrite.maven.MavenLoggingMeterRegistry
- getBuildRoot() - Method in class org.openrewrite.maven.AbstractRewriteMojo
- getChildren() - Method in class org.openrewrite.maven.ui.RecipeDescriptorTree
- getConfiguration() - Method in class org.openrewrite.maven.ConfigureMojo
- getConfiguration() - Method in class org.openrewrite.maven.InitMojo
- getDisplayName() - Method in class org.openrewrite.maven.ui.RecipeDescriptorTree
- getExclusions() - Method in class org.openrewrite.maven.ConfigurableRewriteMojo
- getExecutions() - Method in class org.openrewrite.maven.ConfigureMojo
- getExecutions() - Method in class org.openrewrite.maven.InitMojo
- getFirstException() - Method in class org.openrewrite.maven.AbstractRewriteMojo.ResultsContainer
- getParent() - Method in class org.openrewrite.maven.ui.RecipeDescriptorTree
- getPlainTextMasks() - Method in class org.openrewrite.maven.ConfigurableRewriteMojo
- getProjectRoot() - Method in class org.openrewrite.maven.AbstractRewriteMojo.ResultsContainer
- getRecipeArtifactCoordinates() - Method in class org.openrewrite.maven.ConfigurableRewriteMojo
- getRecipeArtifactCoordinatesClassloader() - Method in class org.openrewrite.maven.AbstractRewriteMojo
- getRecipeDescriptor() - Method in class org.openrewrite.maven.ui.RecipeDescriptorTree
- getRecipeDescriptor(String, Collection<RecipeDescriptor>) - Static method in class org.openrewrite.maven.AbstractRewriteMojo
- getVersion() - Method in class org.openrewrite.maven.InitMojo
- groupId - Variable in class org.openrewrite.maven.ConfigureMojo
- groupId - Variable in class org.openrewrite.maven.InitMojo
- groupId - Variable in class org.openrewrite.maven.RemoveMojo
H
- HelpMojo - Class in org.openrewrite.maven.rewrite_maven_plugin
-
Display help information on rewrite-maven-plugin.
Callmvn rewrite:help -Ddetail=true -Dgoal=<goal-name>to display parameter details. - HelpMojo() - Constructor for class org.openrewrite.maven.rewrite_maven_plugin.HelpMojo
I
- InitMojo - Class in org.openrewrite.maven
-
Add rewrite-maven-plugin (or any other plugin) to the project.
For example:
./mvnw rewrite:init -DactiveRecipes=org.openrewrite.java.spring.boot2.SpringBoot1To2Migration -Ddependencies=org.openrewrite.recipe:rewrite-spring:4.17.0 - InitMojo() - Constructor for class org.openrewrite.maven.InitMojo
- isNotEmpty() - Method in class org.openrewrite.maven.AbstractRewriteMojo.ResultsContainer
L
- listResults() - Method in class org.openrewrite.maven.AbstractRewriteMojo
- listSourceFiles(MavenProject, List<NamedStyles>, ExecutionContext) - Method in class org.openrewrite.maven.MavenMojoProjectParser
- logRecipesThatMadeChanges(Result) - Method in class org.openrewrite.maven.AbstractRewriteMojo
M
- MavenLoggingMeterRegistry - Class in org.openrewrite.maven
- MavenLoggingMeterRegistry(Log) - Constructor for class org.openrewrite.maven.MavenLoggingMeterRegistry
- MavenMojoProjectParser - Class in org.openrewrite.maven
- MavenMojoProjectParser(Log, Path, boolean, String, RuntimeInformation, boolean, Collection<String>, Collection<String>, int, MavenSession, SettingsDecrypter) - Constructor for class org.openrewrite.maven.MavenMojoProjectParser
- mavenSession - Variable in class org.openrewrite.maven.AbstractRewriteMojo
- MeterRegistryProvider - Class in org.openrewrite.maven
- MeterRegistryProvider(Log, String, String, String) - Constructor for class org.openrewrite.maven.MeterRegistryProvider
- metricsPassword - Variable in class org.openrewrite.maven.ConfigurableRewriteMojo
- metricsUri - Variable in class org.openrewrite.maven.ConfigurableRewriteMojo
- metricsUsername - Variable in class org.openrewrite.maven.ConfigurableRewriteMojo
N
- newCounter(Meter.Id) - Method in class org.openrewrite.maven.MavenLoggingMeterRegistry
- newDistributionSummary(Meter.Id, DistributionStatisticConfig, double) - Method in class org.openrewrite.maven.MavenLoggingMeterRegistry
- newFunctionCounter(Meter.Id, T, ToDoubleFunction<T>) - Method in class org.openrewrite.maven.MavenLoggingMeterRegistry
- newFunctionTimer(Meter.Id, T, ToLongFunction<T>, ToDoubleFunction<T>, TimeUnit) - Method in class org.openrewrite.maven.MavenLoggingMeterRegistry
- newGauge(Meter.Id, T, ToDoubleFunction<T>) - Method in class org.openrewrite.maven.MavenLoggingMeterRegistry
- newLongTaskTimer(Meter.Id, DistributionStatisticConfig) - Method in class org.openrewrite.maven.MavenLoggingMeterRegistry
- newlyEmptyDirectories() - Method in class org.openrewrite.maven.AbstractRewriteMojo.ResultsContainer
-
List directories that are empty as a result of applying recipe changes
- newMeter(Meter.Id, Meter.Type, Iterable<Measurement>) - Method in class org.openrewrite.maven.MavenLoggingMeterRegistry
- newTimer(Meter.Id, DistributionStatisticConfig, PauseDetector) - Method in class org.openrewrite.maven.MavenLoggingMeterRegistry
O
- org.openrewrite.maven - package org.openrewrite.maven
- org.openrewrite.maven.rewrite_maven_plugin - package org.openrewrite.maven.rewrite_maven_plugin
- org.openrewrite.maven.ui - package org.openrewrite.maven.ui
P
- parse(Path, Collection<Path>) - Method in class org.openrewrite.maven.ResourceParser
- parseMaven(MavenProject, List<Marker>, ExecutionContext) - Method in class org.openrewrite.maven.MavenMojoProjectParser
- parseSourceFiles(Path, Collection<Path>, ExecutionContext) - Method in class org.openrewrite.maven.ResourceParser
- pomCacheDirectory - Variable in class org.openrewrite.maven.ConfigurableRewriteMojo
- pomCacheEnabled - Variable in class org.openrewrite.maven.ConfigurableRewriteMojo
- project - Variable in class org.openrewrite.maven.AbstractRewriteMojo
R
- RecipeDescriptorTree - Class in org.openrewrite.maven.ui
-
Used for traversing around the collection of available RecipeDescriptors in the environment.
- RecipeDescriptorTree() - Constructor for class org.openrewrite.maven.ui.RecipeDescriptorTree
- RecipeDescriptorTree(String) - Constructor for class org.openrewrite.maven.ui.RecipeDescriptorTree
- RecipeDescriptorTreePrompter - Class in org.openrewrite.maven.ui
-
Interactive shell to select and explore available options in the environment.
- RecipeDescriptorTreePrompter(Prompter) - Constructor for class org.openrewrite.maven.ui.RecipeDescriptorTreePrompter
- registry() - Method in class org.openrewrite.maven.MeterRegistryProvider
- RemoveMojo - Class in org.openrewrite.maven
-
Remove rewrite-maven-plugin (or any other plugin) from the project.
For example:
./mvnw rewrite:remove - RemoveMojo() - Constructor for class org.openrewrite.maven.RemoveMojo
- repositoryRoot() - Method in class org.openrewrite.maven.AbstractRewriteMojo
-
Attempt to determine the root of the git repository for the given project.
- repositorySystem - Variable in class org.openrewrite.maven.AbstractRewriteMojo
- resetTypeCache() - Method in class org.openrewrite.maven.MavenMojoProjectParser
-
Used to reset the type cache.
- resolveArtifactsAndDependencies(Set<Artifact>) - Method in class org.openrewrite.maven.ArtifactResolver
- ResourceParser - Class in org.openrewrite.maven
- ResourceParser(Path, Log, Collection<String>, Collection<String>, int, Collection<Path>, JavaParser) - Constructor for class org.openrewrite.maven.ResourceParser
- ResultsContainer(Path, Collection<Result>) - Constructor for class org.openrewrite.maven.AbstractRewriteMojo.ResultsContainer
- rewriteActiveRecipes - Variable in class org.openrewrite.maven.ConfigurableRewriteMojo
- rewriteActiveStyles - Variable in class org.openrewrite.maven.ConfigurableRewriteMojo
- RewriteDiscoverMojo - Class in org.openrewrite.maven
-
Generate a report of available recipes found on the classpath.
./mvnw rewrite:discover -Ddetail=true -Drecipe=<recipe-name>to display recipe configuration details. - RewriteDiscoverMojo() - Constructor for class org.openrewrite.maven.RewriteDiscoverMojo
- RewriteDryRunMojo - Class in org.openrewrite.maven
-
Generate warnings to the console for any recipe that would make changes, but do not make changes.
- RewriteDryRunMojo() - Constructor for class org.openrewrite.maven.RewriteDryRunMojo
- RewriteDryRunNoForkMojo - Class in org.openrewrite.maven
-
Generate warnings to the console for any recipe that would make changes, but do not make changes.
- RewriteDryRunNoForkMojo() - Constructor for class org.openrewrite.maven.RewriteDryRunNoForkMojo
- RewriteDumpMavenSettings - Class in org.openrewrite.maven
- RewriteDumpMavenSettings() - Constructor for class org.openrewrite.maven.RewriteDumpMavenSettings
- RewriteRunMojo - Class in org.openrewrite.maven
-
Run the configured recipes and apply the changes locally.
- RewriteRunMojo() - Constructor for class org.openrewrite.maven.RewriteRunMojo
- RewriteRunNoForkMojo - Class in org.openrewrite.maven
-
Run the configured recipes and apply the changes locally.
- RewriteRunNoForkMojo() - Constructor for class org.openrewrite.maven.RewriteRunNoForkMojo
- rewriteSkip - Variable in class org.openrewrite.maven.ConfigurableRewriteMojo
- rootOnly - Variable in class org.openrewrite.maven.InitMojo
- runPerSubmodule - Variable in class org.openrewrite.maven.ConfigurableRewriteMojo
- runtime - Variable in class org.openrewrite.maven.AbstractRewriteMojo
S
- SanitizedMarkerPrinter - Class in org.openrewrite.maven
-
A
PrintOutputCapturethat sanitizes the diff of informational markers, so these aren't accidentally committed to source control. - SanitizedMarkerPrinter() - Constructor for class org.openrewrite.maven.SanitizedMarkerPrinter
- setRecipeDescriptor(RecipeDescriptor) - Method in class org.openrewrite.maven.ui.RecipeDescriptorTree
- settingsDecrypter - Variable in class org.openrewrite.maven.AbstractRewriteMojo
- sizeThresholdMb - Variable in class org.openrewrite.maven.ConfigurableRewriteMojo
- skipMavenParsing - Variable in class org.openrewrite.maven.ConfigurableRewriteMojo
-
When enabled, skip parsing Maven `pom.xml`s, and any transitive poms, as source files.
V
A B C D E F G H I L M N O P R S VAll Classes and Interfaces|All Packages