Class LabelUtils
java.lang.Object
org.axonframework.deadline.jobrunr.LabelUtils
Utility class to create the labels of the JobRunr jobs that fire deadlines. JobRunr limits a label's length, so a
longer label is replaced by its MD5 hash.
- Since:
- 4.8.0
- Author:
- Gerard Klijs
-
Method Summary
-
Method Details
-
getLabel
Returns the giveninputas a label: unchanged if it is at most 44 characters long, and as its MD5 hash otherwise.- Parameters:
input- the text to turn into a label- Returns:
- the label for the given
input
-