Package com.io7m.changelog.core
Class CTicketIDs
java.lang.Object
com.io7m.changelog.core.CTicketIDs
public final class CTicketIDs
extends java.lang.Object
Functions over ticket IDs.
-
Field Summary
Fields Modifier and Type Field Description static intVALID_NAME_LENGTHThe maximum length of a ticket ID.static java.util.regex.PatternVALID_NAMESThe pattern that defines a valid ticket ID, not including the length of the name. -
Method Summary
Modifier and Type Method Description static booleanisValid(java.lang.String name)
-
Field Details
-
VALID_NAME_LENGTH
public static final int VALID_NAME_LENGTHThe maximum length of a ticket ID. -
VALID_NAMES
public static final java.util.regex.Pattern VALID_NAMESThe pattern that defines a valid ticket ID, not including the length of the name.
-
-
Method Details
-
isValid
public static boolean isValid(java.lang.String name)- Parameters:
name- The name- Returns:
trueiff the ticket ID is valid
-