Class RefPattern

java.lang.Object
com.google.gerrit.server.project.RefPattern

public class RefPattern extends Object
  • Field Details

  • Constructor Details

    • RefPattern

      public RefPattern()
  • Method Details

    • 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