Class LabelUtils

java.lang.Object
org.axonframework.deadline.jobrunr.LabelUtils

public abstract class LabelUtils extends Object
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 Details

    • getLabel

      public static String getLabel(String input)
      Returns the given input as 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