Package com.atlassian.bamboo.specs.util
Class YamlFile
java.lang.Object
com.atlassian.bamboo.specs.util.YamlFile
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontentCanonicallyEquals(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) intintgetId()static YamlFile
-
Method Details
-
getCounter
public int getCounter() -
getHashCode
public int getHashCode() -
getId
-
getLocation
-
contentCanonicallyEquals
- Throws:
IOException
-
parse
-
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) -
generateFileName
-