Package com.atlassian.bamboo.specs.util
Class YamlFile
- java.lang.Object
-
- com.atlassian.bamboo.specs.util.YamlFile
-
public final class YamlFile extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontentCanonicallyEquals(YamlFile other)static StringgenerateFileName(@NotNull RootEntityPropertiesBuilder<?> entityProperties, String content, AtomicLong fileCounter)static StringgenerateFileName(@NotNull String humanReadableId, String content, AtomicLong fileCounter)static StringgenerateFileName(@NotNull String humanReadableId, String content, AtomicLong fileCounter, Function<String,Integer> hashFunction)intgetCounter()intgetHashCode()StringgetId()PathgetLocation()static YamlFileparse(@NotNull Path path)
-
-
-
Method Detail
-
getCounter
public int getCounter()
-
getHashCode
public int getHashCode()
-
getId
public String getId()
-
getLocation
public Path getLocation()
-
contentCanonicallyEquals
public boolean contentCanonicallyEquals(YamlFile other) throws IOException
- Throws:
IOException
-
generateFileName
public static String generateFileName(@NotNull @NotNull RootEntityPropertiesBuilder<?> entityProperties, String content, AtomicLong fileCounter)
-
generateFileName
public static String generateFileName(@NotNull @NotNull String humanReadableId, String content, AtomicLong fileCounter)
-
-