Package io.camunda.client.impl.util
Class TagUtil
java.lang.Object
io.camunda.client.impl.util.TagUtil
Utility class for validating tags used in Zeebe. Tags are used to categorize and label resources
within the system.
NOTE: Whenever you adjust the tag format or max number, also consider updating the REST API documentation and the duplicated zeebe engine validation (see TagUtil.java)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidensureValidTags(String context, Set<String> tags) static booleanisValidTag(String tag) Validates that a tag follows the required format and constraints: - Must start with a letter (a-z, A-Z) - After the first character, may contain: alphanumerics, underscores, minuses, colons, periods - Must not be blank and must be 100 characters or less
-
Field Details
-
MAX_NUMBER_OF_TAGS
public static final int MAX_NUMBER_OF_TAGS- See Also:
-
MAX_TAG_LENGTH
public static final int MAX_TAG_LENGTH- See Also:
-
TAG_FORMAT_DESCRIPTION
-
-
Constructor Details
-
TagUtil
public TagUtil()
-
-
Method Details
-
isValidTag
Validates that a tag follows the required format and constraints: - Must start with a letter (a-z, A-Z) - After the first character, may contain: alphanumerics, underscores, minuses, colons, periods - Must not be blank and must be 100 characters or less -
ensureValidTags
-