Package com.github.jenkins.lastchanges
Class LastChangesUtil
java.lang.Object
com.github.jenkins.lastchanges.LastChangesUtil
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
static String
decompress
(byte[] compressedDiff) static boolean
shouldCompressDiff
(String diff) static String
toHtmlDiff
(LastChanges buildChanges, String buildName)
-
Constructor Details
-
LastChangesUtil
public LastChangesUtil()
-
-
Method Details
-
toHtmlDiff
-
shouldCompressDiff
- Parameters:
diff
- the diff- Returns:
true
If diff is bigger than DIFF_COMPRESS_THRESHOLD
-
compress
-
decompress
-