Class PrintMavenAsCycloneDxBom

  • All Implemented Interfaces:
    MavenSourceVisitor<java.lang.String>, org.openrewrite.SourceVisitor<java.lang.String>, org.openrewrite.xml.XmlSourceVisitor<java.lang.String>

    public class PrintMavenAsCycloneDxBom
    extends AbstractMavenSourceVisitor<java.lang.String>
    Print the dependency graph in the CycloneDX (https://cyclonedx.org/) bill of materials (BOM) format.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String defaultTo​(org.openrewrite.Tree t)  
      java.lang.String visitMaven​(Maven maven)  
      • Methods inherited from class org.openrewrite.xml.AbstractXmlSourceVisitor

        enclosingTag, visitAttribute, visitCharData, visitComment, visitDocTypeDecl, visitDocument, visitElement, visitIdent, visitProcessingInstruction, visitProlog, visitTag
      • 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.SourceVisitor

        getCursor, getName, getTags, reduce, validate, visit, visit, visitTree
      • Methods inherited from interface org.openrewrite.xml.XmlSourceVisitor

        enclosingTag, visitAttribute, visitCharData, visitComment, visitDocTypeDecl, visitDocument, visitElement, visitIdent, visitProcessingInstruction, visitProlog, visitTag
    • Constructor Detail

      • PrintMavenAsCycloneDxBom

        public PrintMavenAsCycloneDxBom()