Package com.google.gerrit.server.git
Class DestinationList
- java.lang.Object
-
- com.google.gerrit.server.git.TabFile
-
- com.google.gerrit.server.git.DestinationList
-
public class DestinationList extends TabFile
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.gerrit.server.git.TabFile
TabFile.Parser, TabFile.Row
-
-
Constructor Summary
Constructors Constructor Description DestinationList()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
asText(String label)
Set<Branch.NameKey>
getDestinations(String label)
void
parseLabel(String label, String text, ValidationError.Sink errors)
protected static Set<Branch.NameKey>
toSet(List<TabFile.Row> destRows)
-
-
-
Field Detail
-
DIR_NAME
public static final String DIR_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDestinations
public Set<Branch.NameKey> getDestinations(String label)
-
parseLabel
public void parseLabel(String label, String text, ValidationError.Sink errors) throws IOException
- Throws:
IOException
-
toSet
protected static Set<Branch.NameKey> toSet(List<TabFile.Row> destRows)
-
-