Class Kubernetes

  • All Implemented Interfaces:
    org.openrewrite.SourceFile, org.openrewrite.Tree, org.openrewrite.yaml.tree.Yaml

    public class Kubernetes
    extends org.openrewrite.yaml.tree.Yaml.Documents
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Kubernetes.ResourceDocument  
      • Nested classes/interfaces inherited from interface org.openrewrite.yaml.tree.Yaml

        org.openrewrite.yaml.tree.Yaml.Alias, org.openrewrite.yaml.tree.Yaml.Anchor, org.openrewrite.yaml.tree.Yaml.Block, org.openrewrite.yaml.tree.Yaml.Document, org.openrewrite.yaml.tree.Yaml.Documents, org.openrewrite.yaml.tree.Yaml.Mapping, org.openrewrite.yaml.tree.Yaml.Scalar, org.openrewrite.yaml.tree.Yaml.Sequence
    • Constructor Summary

      Constructors 
      Constructor Description
      Kubernetes​(org.openrewrite.yaml.tree.Yaml.Documents documents)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <R extends org.openrewrite.Tree,​P>
      R
      accept​(org.openrewrite.TreeVisitor<R,​P> v, P p)  
      java.util.List<Kubernetes.ResourceDocument> getDocuments()  
      Kubernetes withMarkers​(org.openrewrite.marker.Markers markers)  
      • Methods inherited from class org.openrewrite.yaml.tree.Yaml.Documents

        acceptYaml, canEqual, copyPaste, equals, getId, getMarkers, getPrefix, getSourcePath, hashCode, printer, toString, withDocuments, withPrefix, withSourcePath
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.openrewrite.SourceFile

        getStyle, printAll, printAll, printAllTrimmed, printAllTrimmed
      • Methods inherited from interface org.openrewrite.Tree

        getJacksonPolymorphicTypeTag, isScope, print, print, print, print, printTrimmed, printTrimmed, printTrimmed
      • Methods inherited from interface org.openrewrite.yaml.tree.Yaml

        isAcceptable
    • Constructor Detail

      • Kubernetes

        public Kubernetes​(org.openrewrite.yaml.tree.Yaml.Documents documents)
    • Method Detail

      • getDocuments

        public java.util.List<Kubernetes.ResourceDocument> getDocuments()
        Overrides:
        getDocuments in class org.openrewrite.yaml.tree.Yaml.Documents
      • accept

        @Nullable
        public <R extends org.openrewrite.Tree,​P> R accept​(org.openrewrite.TreeVisitor<R,​P> v,
                                                                 P p)
      • withMarkers

        public Kubernetes withMarkers​(org.openrewrite.marker.Markers markers)
        Specified by:
        withMarkers in interface org.openrewrite.SourceFile
        Specified by:
        withMarkers in interface org.openrewrite.yaml.tree.Yaml
        Overrides:
        withMarkers in class org.openrewrite.yaml.tree.Yaml.Documents