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 int VALID_NAME_LENGTH
    The maximum length of a ticket ID.
    static java.util.regex.Pattern VALID_NAMES
    The pattern that defines a valid ticket ID, not including the length of the name.
  • Method Summary

    Modifier and Type Method Description
    static boolean isValid​(java.lang.String name)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • VALID_NAME_LENGTH

      public static final int VALID_NAME_LENGTH
      The maximum length of a ticket ID.
    • VALID_NAMES

      public static final java.util.regex.Pattern VALID_NAMES
      The 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:
      true iff the ticket ID is valid