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