Class 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.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Iterable<io.micrometer.core.instrument.Tag> getTags()  
      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

        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
      • Methods inherited from interface org.openrewrite.RefactorVisitor

        defaultTo, generate, isIdempotent, nextCycle
      • Methods inherited from interface org.openrewrite.SourceVisitor

        getCursor, getName, reduce, visit, visit, visitTree
    • Constructor Detail

      • UseSpringBootVersionMaven

        public UseSpringBootVersionMaven()
    • 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:
        visitDocument in interface org.openrewrite.xml.XmlSourceVisitor<org.openrewrite.xml.tree.Xml>
        Overrides:
        visitDocument in class org.openrewrite.xml.XmlRefactorVisitor
      • visitTag

        public org.openrewrite.xml.tree.Xml visitTag​(org.openrewrite.xml.tree.Xml.Tag tag)
        Specified by:
        visitTag in interface org.openrewrite.xml.XmlSourceVisitor<org.openrewrite.xml.tree.Xml>
        Overrides:
        visitTag in class org.openrewrite.xml.XmlRefactorVisitor