Class UseSpringBootVersionMaven

  • All Implemented Interfaces:
    org.openrewrite.RefactorVisitorSupport

    public class UseSpringBootVersionMaven
    extends org.openrewrite.xml.XmlRefactorVisitor
    Update the parent section of a POM to a version specified to this visitor.
    • Field Summary

      • Fields inherited from class org.openrewrite.xml.XmlRefactorVisitor

        formatter
      • Fields inherited from class org.openrewrite.SourceVisitor

        cycle
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Iterable<io.micrometer.core.instrument.Tag> getTags()  
      void setHttpClient​(okhttp3.OkHttpClient httpClient)  
      void setRepositoryUrl​(java.lang.String repositoryUrl)  
      void setVersion​(java.lang.String version)  
      org.openrewrite.Validated validate()  
      org.openrewrite.xml.tree.Xml visitDocument​(org.openrewrite.xml.tree.Xml.Document document)  
      org.openrewrite.xml.tree.Xml visitTag​(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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.openrewrite.RefactorVisitorSupport

        refactor, refactor, refactor, visit
    • Constructor Detail

      • UseSpringBootVersionMaven

        public UseSpringBootVersionMaven()
    • Method Detail

      • getTags

        public java.lang.Iterable<io.micrometer.core.instrument.Tag> getTags()
        Overrides:
        getTags in class org.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:
        validate in class org.openrewrite.SourceVisitor<org.openrewrite.xml.tree.Xml>
      • visitDocument

        public org.openrewrite.xml.tree.Xml visitDocument​(org.openrewrite.xml.tree.Xml.Document document)
        Overrides:
        visitDocument in class org.openrewrite.xml.XmlRefactorVisitor
      • visitTag

        public org.openrewrite.xml.tree.Xml visitTag​(org.openrewrite.xml.tree.Xml.Tag tag)
        Overrides:
        visitTag in class org.openrewrite.xml.XmlRefactorVisitor