Class ProjectGenPropertiesScanningRecipe
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.ScanningRecipe<GenericOptionsBuilder>
io.micronaut.projectgen.openrewrite.ProjectGenPropertiesScanningRecipe
- All Implemented Interfaces:
Cloneable
@Internal
public abstract class ProjectGenPropertiesScanningRecipe
extends org.openrewrite.ScanningRecipe<GenericOptionsBuilder>
abstract class for a scanning recipe which reads a `projectgen.properties` file and populates
GenericOptionsBuilder
.-
Nested Class Summary
Nested classes/interfaces inherited from class org.openrewrite.Recipe
org.openrewrite.Recipe.Builder, org.openrewrite.Recipe.DelegatingRecipe
-
Field Summary
FieldsFields inherited from class org.openrewrite.Recipe
contributors, examples, PANIC
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInitialValue
(org.openrewrite.ExecutionContext ctx) org.openrewrite.TreeVisitor<?,
org.openrewrite.ExecutionContext> Methods inherited from class org.openrewrite.ScanningRecipe
generate, generate, getAccumulator, getVisitor, getVisitor
Methods inherited from class org.openrewrite.Recipe
addDataTable, builder, buildRecipeList, causesAnotherCycle, clone, createRecipeDescriptor, equals, getContributors, getDataTableDescriptors, getDescription, getDescriptor, getDisplayName, getEstimatedEffortPerOccurrence, getExamples, getInstanceName, getInstanceNameSuffix, getJacksonPolymorphicTypeTag, getMaintainers, getName, getRecipeList, getTags, hashCode, maxCycles, noop, onComplete, run, run, run, setContributors, setExamples, validate, validate, validateAll, validateAll
-
Field Details
-
projectDir
-
-
Constructor Details
-
ProjectGenPropertiesScanningRecipe
public ProjectGenPropertiesScanningRecipe()
-
-
Method Details
-
getInitialValue
- Specified by:
getInitialValue
in classorg.openrewrite.ScanningRecipe<GenericOptionsBuilder>
-
getScanner
public org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getScanner(GenericOptionsBuilder acc) - Specified by:
getScanner
in classorg.openrewrite.ScanningRecipe<GenericOptionsBuilder>
-