Class RefPattern


  • public class RefPattern
    extends Object
    • Constructor Detail

      • RefPattern

        public RefPattern()
    • Method Detail

      • shortestExample

        public static String shortestExample​(String refPattern)
      • isRE

        public static boolean isRE​(String refPattern)
      • containsParameters

        public static boolean containsParameters​(String refPattern)
      • toRegExp

        public static dk.brics.automaton.RegExp toRegExp​(String refPattern)
      • validate

        public static void validate​(String refPattern)
                             throws com.google.gerrit.exceptions.InvalidNameException
        Throws:
        com.google.gerrit.exceptions.InvalidNameException
      • validateRegExp

        public static void validateRegExp​(String refPattern)
                                   throws com.google.gerrit.exceptions.InvalidNameException
        Throws:
        com.google.gerrit.exceptions.InvalidNameException