Package com.google.gerrit.server.project
Class RefPattern
- java.lang.Object
- 
- com.google.gerrit.server.project.RefPattern
 
- 
 public class RefPattern extends Object 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringUSERID_SHARDEDstatic StringUSERNAME
 - 
Constructor SummaryConstructors Constructor Description RefPattern()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancontainsParameters(String refPattern)static booleanisRE(String refPattern)static StringshortestExample(String refPattern)static dk.brics.automaton.RegExptoRegExp(String refPattern)static voidvalidate(String refPattern)static voidvalidateRegExp(String refPattern)
 
- 
- 
- 
Field Detail- 
USERID_SHARDEDpublic static final String USERID_SHARDED - See Also:
- Constant Field Values
 
 - 
USERNAMEpublic static final String USERNAME - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
isREpublic static boolean isRE(String refPattern) 
 - 
containsParameterspublic static boolean containsParameters(String refPattern) 
 - 
toRegExppublic static dk.brics.automaton.RegExp toRegExp(String refPattern) 
 - 
validatepublic static void validate(String refPattern) throws com.google.gerrit.exceptions.InvalidNameException - Throws:
- com.google.gerrit.exceptions.InvalidNameException
 
 - 
validateRegExppublic static void validateRegExp(String refPattern) throws com.google.gerrit.exceptions.InvalidNameException - Throws:
- com.google.gerrit.exceptions.InvalidNameException
 
 
- 
 
-