Package org.openrewrite.jenkins
Class AddJellyXmlDeclaration
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.jenkins.AddJellyXmlDeclaration
- All Implemented Interfaces:
Cloneable
public class AddJellyXmlDeclaration
extends org.openrewrite.Recipe
Recipe to add an XML declaration to Jelly files.
-
Nested Class Summary
Nested 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 TypeMethodDescriptionorg.openrewrite.text.PlainTextVisitor<org.openrewrite.ExecutionContext> Returns a visitor that adds the XML declaration to Jelly files.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, withOptions
-
Constructor Details
-
AddJellyXmlDeclaration
public AddJellyXmlDeclaration()
-
-
Method Details
-
getVisitor
public org.openrewrite.text.PlainTextVisitor<org.openrewrite.ExecutionContext> getVisitor()Returns a visitor that adds the XML declaration to Jelly files.- Overrides:
getVisitorin classorg.openrewrite.Recipe- Returns:
- a PlainTextVisitor that adds the XML declaration
-