Package com.atlassian.bamboo.specs.util
Class YamlFile
- java.lang.Object
-
- com.atlassian.bamboo.specs.util.YamlFile
-
public final class YamlFile extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontentCanonicallyEquals(YamlFile other)static java.lang.StringgenerateFileName(@NotNull RootEntityPropertiesBuilder<?> entityProperties, java.lang.String content, java.util.concurrent.atomic.AtomicLong fileCounter)static java.lang.StringgenerateFileName(@NotNull java.lang.String humanReadableId, java.lang.String content, java.util.concurrent.atomic.AtomicLong fileCounter)intgetCounter()intgetHashCode()java.lang.StringgetId()java.nio.file.PathgetLocation()static YamlFileparse(@NotNull java.nio.file.Path path)
-
-
-
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 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)
-
-