Class YamlFile


  • public final class YamlFile
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean contentCanonicallyEquals​(YamlFile other)  
      static java.lang.String generateFileName​(@NotNull com.atlassian.bamboo.specs.api.builders.RootEntityPropertiesBuilder<?> entityProperties, java.lang.String content, java.util.concurrent.atomic.AtomicLong fileCounter)  
      static java.lang.String generateFileName​(@NotNull java.lang.String humanReadableId, java.lang.String content, java.util.concurrent.atomic.AtomicLong fileCounter)  
      int getCounter()  
      int getHashCode()  
      java.lang.String getId()  
      java.nio.file.Path getLocation()  
      static YamlFile parse​(@NotNull java.nio.file.Path path)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCounter

        public int getCounter()
      • getHashCode

        public int getHashCode()
      • getId

        public java.lang.String getId()
      • getLocation

        public java.nio.file.Path getLocation()
      • contentCanonicallyEquals

        public boolean contentCanonicallyEquals​(YamlFile other)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parse

        public static YamlFile parse​(@NotNull
                                     @NotNull java.nio.file.Path path)
      • generateFileName

        public static java.lang.String generateFileName​(@NotNull
                                                        @NotNull com.atlassian.bamboo.specs.api.builders.RootEntityPropertiesBuilder<?> entityProperties,
                                                        java.lang.String content,
                                                        java.util.concurrent.atomic.AtomicLong fileCounter)
      • generateFileName

        public static java.lang.String generateFileName​(@NotNull
                                                        @NotNull java.lang.String humanReadableId,
                                                        java.lang.String content,
                                                        java.util.concurrent.atomic.AtomicLong fileCounter)