Package org.openrewrite.codemods
Class ReactI18Next
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.ScanningRecipe<NodeBasedRecipe.Accumulator>
org.openrewrite.codemods.NodeBasedRecipe
org.openrewrite.codemods.ReactI18Next
- All Implemented Interfaces:
Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openrewrite.codemods.NodeBasedRecipe
NodeBasedRecipe.AccumulatorNested classes/interfaces inherited from class org.openrewrite.Recipe
org.openrewrite.Recipe.Builder, org.openrewrite.Recipe.DelegatingRecipe -
Field Summary
Fields inherited from class org.openrewrite.Recipe
contributors, examples, PANIC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends org.openrewrite.SourceFile> generate(NodeBasedRecipe.Accumulator acc, org.openrewrite.ExecutionContext ctx) getNpmCommand(NodeBasedRecipe.Accumulator acc, org.openrewrite.ExecutionContext ctx) Methods inherited from class org.openrewrite.codemods.NodeBasedRecipe
createAfter, createDirectory, getCommandEnvironment, getInitialValue, getScanner, getVisitor, processOutput, runNodeMethods inherited from class org.openrewrite.ScanningRecipe
generate, getAccumulator, getVisitorMethods inherited from class org.openrewrite.Recipe
addDataTable, builder, buildRecipeList, causesAnotherCycle, clone, createRecipeDescriptor, equals, getContributors, getDataTableDescriptors, getDescriptor, getEstimatedEffortPerOccurrence, getExamples, getInstanceName, getInstanceNameSuffix, getJacksonPolymorphicTypeTag, getMaintainers, getName, getRecipeList, getTags, hashCode, maxCycles, noop, onComplete, run, run, run, setContributors, setExamples, validate, validate, validateAll, validateAll
-
Constructor Details
-
ReactI18Next
public ReactI18Next()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
- Specified by:
getDescriptionin classorg.openrewrite.Recipe
-
getNpmCommand
protected List<String> getNpmCommand(NodeBasedRecipe.Accumulator acc, org.openrewrite.ExecutionContext ctx) - Specified by:
getNpmCommandin classNodeBasedRecipe
-
generate
public Collection<? extends org.openrewrite.SourceFile> generate(NodeBasedRecipe.Accumulator acc, org.openrewrite.ExecutionContext ctx) - Overrides:
generatein classNodeBasedRecipe
-