Package com.google.gerrit.entities
Class SubmoduleSubscription
- java.lang.Object
-
- com.google.gerrit.entities.SubmoduleSubscription
-
public final class SubmoduleSubscription extends Object
Defining a project/branch subscription to a project/branch project.This means a class instance represents a repo/branch subscription to a project/branch (the subscriber).
A subscriber operates a submodule in defined path.
-
-
Field Summary
Fields Modifier and Type Field Description protected BranchNameKey
submodule
protected String
submodulePath
protected BranchNameKey
superProject
-
Constructor Summary
Constructors Constructor Description SubmoduleSubscription(BranchNameKey superProject, BranchNameKey submodule, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getPath()
BranchNameKey
getSubmodule()
BranchNameKey
getSuperProject()
Indicates the super project, aka subscriber: the project owner of the gitlinks to the submodules.int
hashCode()
String
toString()
-
-
-
Field Detail
-
superProject
protected BranchNameKey superProject
-
submodulePath
protected String submodulePath
-
submodule
protected BranchNameKey submodule
-
-
Constructor Detail
-
SubmoduleSubscription
public SubmoduleSubscription(BranchNameKey superProject, BranchNameKey submodule, String path)
-
-
Method Detail
-
getSuperProject
public BranchNameKey getSuperProject()
Indicates the super project, aka subscriber: the project owner of the gitlinks to the submodules.
-
getPath
public String getPath()
-
getSubmodule
public BranchNameKey getSubmodule()
-
-