Class KubernetesParser

  • All Implemented Interfaces:
    org.openrewrite.Parser<Kubernetes>

    public final class KubernetesParser
    extends java.lang.Object
    implements org.openrewrite.Parser<Kubernetes>
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  KubernetesParser.Builder  
      • Nested classes/interfaces inherited from interface org.openrewrite.Parser

        org.openrewrite.Parser.Input
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(java.nio.file.Path path)  
      static KubernetesParser.Builder builder()  
      java.util.List<Kubernetes> parse​(java.lang.String... sources)  
      java.util.List<Kubernetes> parseInputs​(java.lang.Iterable<org.openrewrite.Parser.Input> sources, @Nullable java.nio.file.Path relativeTo, org.openrewrite.ExecutionContext ctx)  
      • Methods inherited from class java.lang.Object

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

        accept, acceptedInputs, parse, parse, randomSourceName, reset
    • Method Detail

      • parse

        public java.util.List<Kubernetes> parse​(java.lang.String... sources)
        Specified by:
        parse in interface org.openrewrite.Parser<Kubernetes>
      • parseInputs

        public java.util.List<Kubernetes> parseInputs​(java.lang.Iterable<org.openrewrite.Parser.Input> sources,
                                                      @Nullable
                                                      @Nullable java.nio.file.Path relativeTo,
                                                      org.openrewrite.ExecutionContext ctx)
        Specified by:
        parseInputs in interface org.openrewrite.Parser<Kubernetes>
      • accept

        public boolean accept​(java.nio.file.Path path)
        Specified by:
        accept in interface org.openrewrite.Parser<Kubernetes>