Class UseSpringBootVersionMaven
- java.lang.Object
-
- org.openrewrite.AbstractSourceVisitor<T>
-
- org.openrewrite.AbstractRefactorVisitor<org.openrewrite.xml.tree.Xml>
-
- org.openrewrite.xml.XmlRefactorVisitor
-
- org.openrewrite.java.spring.boot2.UseSpringBootVersionMaven
-
- All Implemented Interfaces:
org.openrewrite.RefactorVisitor<org.openrewrite.xml.tree.Xml>,org.openrewrite.SourceVisitor<org.openrewrite.xml.tree.Xml>,org.openrewrite.xml.XmlSourceVisitor<org.openrewrite.xml.tree.Xml>
public class UseSpringBootVersionMaven extends org.openrewrite.xml.XmlRefactorVisitorUpdate the parent section of a POM to a version specified to this visitor.
-
-
Constructor Summary
Constructors Constructor Description UseSpringBootVersionMaven()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Iterable<io.micrometer.core.instrument.Tag>getTags()voidsetVersion(java.lang.String version)org.openrewrite.Validatedvalidate()org.openrewrite.xml.tree.XmlvisitDocument(org.openrewrite.xml.tree.Xml.Document document)org.openrewrite.xml.tree.XmlvisitTag(org.openrewrite.xml.tree.Xml.Tag tag)-
Methods inherited from class org.openrewrite.xml.XmlRefactorVisitor
enclosingRootTag, enclosingTag, visitAttribute, visitCharData, visitComment, visitDocTypeDecl, visitElement, visitIdent, visitProcessingInstruction, visitProlog
-
Methods inherited from class org.openrewrite.AbstractRefactorVisitor
andThen, andThen, next, refactor, refactor, refactor
-
Methods inherited from class org.openrewrite.AbstractSourceVisitor
getCursor, setCursoringOn, visit, visitAfter, visitAfter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
getTags
public java.lang.Iterable<io.micrometer.core.instrument.Tag> getTags()
-
setVersion
public void setVersion(java.lang.String version)
-
validate
public org.openrewrite.Validated validate()
-
visitDocument
public org.openrewrite.xml.tree.Xml visitDocument(org.openrewrite.xml.tree.Xml.Document document)
- Specified by:
visitDocumentin interfaceorg.openrewrite.xml.XmlSourceVisitor<org.openrewrite.xml.tree.Xml>- Overrides:
visitDocumentin classorg.openrewrite.xml.XmlRefactorVisitor
-
visitTag
public org.openrewrite.xml.tree.Xml visitTag(org.openrewrite.xml.tree.Xml.Tag tag)
- Specified by:
visitTagin interfaceorg.openrewrite.xml.XmlSourceVisitor<org.openrewrite.xml.tree.Xml>- Overrides:
visitTagin classorg.openrewrite.xml.XmlRefactorVisitor
-
-