Package org.openrewrite.codemods
Class Putout
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.ScanningRecipe<NodeBasedRecipe.Accumulator>
org.openrewrite.codemods.NodeBasedRecipe
org.openrewrite.codemods.Putout
- 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 TypeMethodDescriptiongetInitialValue(org.openrewrite.ExecutionContext ctx) getNpmCommand(NodeBasedRecipe.Accumulator acc, org.openrewrite.ExecutionContext ctx) protected voidrunNode(NodeBasedRecipe.Accumulator acc, org.openrewrite.ExecutionContext ctx) Methods inherited from class org.openrewrite.codemods.NodeBasedRecipe
createAfter, createDirectory, generate, getCommandEnvironment, getScanner, getVisitor, processOutputMethods inherited from class org.openrewrite.ScanningRecipe
buildRecipeList, generate, getAccumulator, getRecipeList, getVisitorMethods inherited from class org.openrewrite.Recipe
addDataTable, builder, causesAnotherCycle, clone, createRecipeDescriptor, equals, getContributors, getDataTableDescriptors, getDescriptor, getEstimatedEffortPerOccurrence, getExamples, getInstanceName, getInstanceNameSuffix, getJacksonPolymorphicTypeTag, getMaintainers, getName, getTags, hashCode, maxCycles, noop, run, run, run, setContributors, setExamples, validate, validate, validateAll, validateAll
-
Constructor Details
-
Putout
public Putout()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
- Specified by:
getDescriptionin classorg.openrewrite.Recipe
-
getInitialValue
- Overrides:
getInitialValuein classNodeBasedRecipe
-
getNpmCommand
protected List<String> getNpmCommand(NodeBasedRecipe.Accumulator acc, org.openrewrite.ExecutionContext ctx) - Specified by:
getNpmCommandin classNodeBasedRecipe
-
runNode
- Overrides:
runNodein classNodeBasedRecipe
-