public class RefPattern extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
USERID_SHARDED |
static String |
USERNAME |
| Constructor and Description |
|---|
RefPattern() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isRE(String refPattern) |
static String |
shortestExample(String refPattern) |
static dk.brics.automaton.RegExp |
toRegExp(String refPattern) |
static void |
validate(String refPattern) |
static void |
validateRegExp(String refPattern) |
public static final String USERID_SHARDED
public static final String USERNAME
public static boolean isRE(String refPattern)
public static dk.brics.automaton.RegExp toRegExp(String refPattern)
public static void validate(String refPattern) throws com.google.gerrit.exceptions.InvalidNameException
com.google.gerrit.exceptions.InvalidNameExceptionpublic static void validateRegExp(String refPattern) throws com.google.gerrit.exceptions.InvalidNameException
com.google.gerrit.exceptions.InvalidNameException