Class ApplyAngularCLI
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.ScanningRecipe<NodeBasedRecipe.Accumulator>
org.openrewrite.codemods.migrate.angular.NodeBasedRecipe
org.openrewrite.codemods.migrate.angular.ApplyAngularCLI
- All Implemented Interfaces:
Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openrewrite.codemods.migrate.angular.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 TypeMethodDescriptionprotected StringgetAngularCliPackage(NodeBasedRecipe.Accumulator acc, org.openrewrite.ExecutionContext ctx) getNpmCommand(NodeBasedRecipe.Accumulator acc, org.openrewrite.ExecutionContext ctx) protected booleanuseNvmExec(NodeBasedRecipe.Accumulator acc, org.openrewrite.ExecutionContext ctx) Methods inherited from class org.openrewrite.codemods.migrate.angular.NodeBasedRecipe
createAfter, createDirectory, generate, getInitialValue, 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
-
ApplyAngularCLI
public ApplyAngularCLI()
-
-
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
-
getAngularCliPackage
protected String getAngularCliPackage(NodeBasedRecipe.Accumulator acc, org.openrewrite.ExecutionContext ctx) - Specified by:
getAngularCliPackagein classNodeBasedRecipe
-
useNvmExec
- Specified by:
useNvmExecin classNodeBasedRecipe
-