Package org.openrewrite.gradle.isolated
Class DefaultProjectParser
java.lang.Object
org.openrewrite.gradle.isolated.DefaultProjectParser
- All Implemented Interfaces:
GradleProjectParser
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Pathprotected final RewriteExtensionprotected final Projectprotected final @Nullable org.openrewrite.jgit.lib.Repository -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.openrewrite.java.internal.JavaTypeCachevoiddiscoverRecipes(org.gradle.internal.service.ServiceRegistry serviceRegistry) voidvoiddryRun(Path reportPath, ResultsContainer results) protected org.openrewrite.config.EnvironmentCollection<org.openrewrite.config.RecipeDescriptor>protected ResultsContainerlistResults(org.openrewrite.ExecutionContext ctx) protected voidlogRecipesThatMadeChanges(org.openrewrite.Result result) Stream<org.openrewrite.SourceFile>Stream<org.openrewrite.SourceFile>parse(org.openrewrite.ExecutionContext ctx) protected org.openrewrite.polyglot.SourceFileStreamparseNonProjectResources(Project subproject, Set<Path> alreadyParsed, org.openrewrite.ExecutionContext ctx) voidvoidrun(ResultsContainer results, org.openrewrite.ExecutionContext ctx) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openrewrite.gradle.GradleProjectParser
discoverRecipes
-
Field Details
-
baseDir
-
extension
-
project
-
repository
protected final @Nullable org.openrewrite.jgit.lib.Repository repository
-
-
Constructor Details
-
DefaultProjectParser
-
-
Method Details
-
createTypeCache
protected org.openrewrite.java.internal.JavaTypeCache createTypeCache() -
getActiveRecipes
- Specified by:
getActiveRecipesin interfaceGradleProjectParser
-
getActiveStyles
- Specified by:
getActiveStylesin interfaceGradleProjectParser
-
getAvailableStyles
- Specified by:
getAvailableStylesin interfaceGradleProjectParser
-
discoverRecipes
public void discoverRecipes(org.gradle.internal.service.ServiceRegistry serviceRegistry) - Specified by:
discoverRecipesin interfaceGradleProjectParser
-
listRecipeDescriptors
-
listSources
- Specified by:
listSourcesin interfaceGradleProjectParser
-
dryRun
- Specified by:
dryRunin interfaceGradleProjectParser
-
dryRun
-
run
- Specified by:
runin interfaceGradleProjectParser
-
run
-
environment
protected org.openrewrite.config.Environment environment() -
parse
-
parse
-
parseNonProjectResources
-
listResults
-
shutdownRewrite
public void shutdownRewrite()- Specified by:
shutdownRewritein interfaceGradleProjectParser
-
logRecipesThatMadeChanges
protected void logRecipesThatMadeChanges(org.openrewrite.Result result)
-