Class CTicketIDs


  • public final class CTicketIDs
    extends Object
    Functions over ticket IDs.
    • 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:
        true iff the ticket ID is valid