Package org.openrewrite.spring
Class UseSpringBootVersionMaven
- java.lang.Object
-
- org.openrewrite.SourceVisitor<R>
-
- org.openrewrite.xml.XmlSourceVisitor<org.openrewrite.xml.tree.Xml>
-
- org.openrewrite.xml.XmlRefactorVisitor
-
- org.openrewrite.spring.UseSpringBootVersionMaven
-
- All Implemented Interfaces:
org.openrewrite.RefactorVisitorSupport
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()voidsetHttpClient(okhttp3.OkHttpClient httpClient)voidsetRepositoryUrl(java.lang.String repositoryUrl)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
defaultTo, enclosingRootTag, enclosingTag, visitAttribute, visitCharData, visitComment, visitDocTypeDecl, visitElement, visitIdent, visitProcessingInstruction, visitProlog
-
Methods inherited from class org.openrewrite.SourceVisitor
andThen, andThen, getCursor, getName, isIdempotent, nextCycle, reduce, setCursoringOn, visit, visit, visitAfter, visitAfter, visitTree
-
-
-
-
Method Detail
-
getTags
public java.lang.Iterable<io.micrometer.core.instrument.Tag> getTags()
- Overrides:
getTagsin classorg.openrewrite.SourceVisitor<org.openrewrite.xml.tree.Xml>
-
setVersion
public void setVersion(java.lang.String version)
-
setRepositoryUrl
public void setRepositoryUrl(java.lang.String repositoryUrl)
-
setHttpClient
public void setHttpClient(okhttp3.OkHttpClient httpClient)
-
validate
public org.openrewrite.Validated validate()
- Overrides:
validatein classorg.openrewrite.SourceVisitor<org.openrewrite.xml.tree.Xml>
-
visitDocument
public org.openrewrite.xml.tree.Xml visitDocument(org.openrewrite.xml.tree.Xml.Document document)
- Overrides:
visitDocumentin classorg.openrewrite.xml.XmlRefactorVisitor
-
visitTag
public org.openrewrite.xml.tree.Xml visitTag(org.openrewrite.xml.tree.Xml.Tag tag)
- Overrides:
visitTagin classorg.openrewrite.xml.XmlRefactorVisitor
-
-