| Modifier and Type | Class and Description |
|---|---|
| public static class | RepoProject.
The representation of a copy file configuration. |
| public static class | RepoProject.
The representation of a link file configuration. |
| public static class | RepoProject.
The representation of a reference file configuration. |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private String | |
| private String | |
| private final Set | |
| private final List | |
| private final String | |
| private final String | |
| private String | |
| private final String | |
| private final String | |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| public | RepoProject(String
the relative path to the name, String remotethe relative path to the super project path, String a SHA-1 or branch name or tag name revision, String name of the remote definition remote, Set<String> set of groups groups, String recommendation for shallowness recommendShallow)Constructor for RepoProject |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | addCopyFiles(Collection<RepoProject.
a collection of
copyFilesorg. objectsAdd a bunch of copyfile configurations. |
| public void | |
| public void | addLinkFiles(Collection<RepoProject.
a collection of linkFilesLinkFilesAdd a bunch of linkfile configurations. |
| public void | |
| public void | |
| public int | compareTo(RepoProject
the object to be compared. that)Implements java. Compares this object with the specified object for order. |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public List | |
| public String | Returns: the dest-branch value if present, null otherwise.Return the dest-branch attribute of the project |
| public Set | |
| public List | |
| public String | |
| public String | |
| private String | |
| public String | |
| public String | |
| public String | |
| public String | Returns: the upstream value if present, null otherwise.Return the upstream attribute of the project |
| public String | |
| public int | |
| public boolean | |
| public boolean | Returns: true if this sub repo is the ancestor of given sub repo.non null that)Check if this sub repo is the ancestor of given sub repo. |
| public boolean | Returns: true if this sub repo is an ancestor of the given path.path to be checked to see if it is within this repository thatPath)Check if this sub repo is an ancestor of the given path. |
| public RepoProject | Returns: this for chaining.the name of the default revision defaultRevision)Set the default revision for the sub repo. |
| public void | setDestBranch(String
value of the attribute in the manifest destBranch)Set the dest-branch attribute of the project Name of a Git branch. |
| public RepoProject | |
| public void | setRecommendShallow(String
recommendation for shallowness recommendShallow)Sets the recommendation for shallowness. |
| public void | setUpstream(String
value of the attribute in the manifest upstream)Set the upstream attribute of the project Name of the git ref in which a sha1 can be found, when the revision is a sha1. |
| public RepoProject |
| copyfiles | back to summary |
|---|---|
| private final List<RepoProject. | |
| defaultRevision | back to summary |
|---|---|
| private String defaultRevision | |
| destBranch | back to summary |
|---|---|
| private String destBranch | |
| groups | back to summary |
|---|---|
| private final Set<String> groups | |
| linkfiles | back to summary |
|---|---|
| private final List<RepoProject. | |
| name | back to summary |
|---|---|
| private final String name | |
| path | back to summary |
|---|---|
| private final String path | |
| recommendShallow | back to summary |
|---|---|
| private String recommendShallow | |
| remote | back to summary |
|---|---|
| private final String remote | |
| revision | back to summary |
|---|---|
| private final String revision | |
| upstream | back to summary |
|---|---|
| private String upstream | |
| url | back to summary |
|---|---|
| private String url | |
| RepoProject | back to summary |
|---|---|
| public RepoProject(String name, String path, String revision, String remote, Set<String> groups, String recommendShallow) Constructor for RepoProject | |
| RepoProject | back to summary |
|---|---|
| public RepoProject(String name, String path, String revision, String remote, String groupsParam) Constructor for RepoProject | |
| addCopyFile | back to summary |
|---|---|
| public void addCopyFile(RepoProject. Add a copy file configuration.
| |
| addCopyFiles | back to summary |
|---|---|
| public void addCopyFiles(Collection<RepoProject. Add a bunch of copyfile configurations.
| |
| addLinkFile | back to summary |
|---|---|
| public void addLinkFile(RepoProject. Add a link file configuration.
| |
| addLinkFiles | back to summary |
|---|---|
| public void addLinkFiles(Collection<RepoProject. Add a bunch of linkfile configurations.
| |
| clearCopyFiles | back to summary |
|---|---|
| public void clearCopyFiles() Clear all the copyfiles.
| |
| clearLinkFiles | back to summary |
|---|---|
| public void clearLinkFiles() Clear all the linkfiles.
| |
| compareTo | back to summary |
|---|---|
| public int compareTo(RepoProject that) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getCopyFiles | back to summary |
|---|---|
| public List Getter for the copyfile configurations.
| |
| getDestBranch | back to summary |
|---|---|
| public String getDestBranch() Return the dest-branch attribute of the project
| |
| getGroups | back to summary |
|---|---|
| public Set Return the set of groups. | |
| getLinkFiles | back to summary |
|---|---|
| public List Getter for the linkfile configurations.
| |
| getName | back to summary |
|---|---|
| public String getName() Get the name (relative path to the
| |
| getPath | back to summary |
|---|---|
| public String getPath() Get the path (relative path to the super project) of this sub repo.
| |
| getPathWithSlash | back to summary |
|---|---|
| private String getPathWithSlash() | |
| getRecommendShallow | back to summary |
|---|---|
| public String getRecommendShallow() Return the recommendation for shallowness.
| |
| getRemote | back to summary |
|---|---|
| public String getRemote() Get the name of the remote definition of the sub repo.
| |
| getRevision | back to summary |
|---|---|
| public String getRevision() Get the revision of the sub repo.
| |
| getUpstream | back to summary |
|---|---|
| public String getUpstream() Return the upstream attribute of the project
| |
| getUrl | back to summary |
|---|---|
| public String getUrl() Get the url of the sub repo.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| inGroup | back to summary |
|---|---|
| public boolean inGroup(String group) Test whether this sub repo belongs to a specified group.
| |
| isAncestorOf | back to summary |
|---|---|
| public boolean isAncestorOf(RepoProject that) Check if this sub repo is the ancestor of given sub repo.
| |
| isAncestorOf | back to summary |
|---|---|
| public boolean isAncestorOf(String thatPath) Check if this sub repo is an ancestor of the given path.
| |
| setDefaultRevision | back to summary |
|---|---|
| public RepoProject setDefaultRevision(String defaultRevision) Set the default revision for the sub repo.
| |
| setDestBranch | back to summary |
|---|---|
| public void setDestBranch(String destBranch) Set the dest-branch attribute of the project Name of a Git branch.
| |
| setGroups | back to summary |
|---|---|
| public RepoProject setGroups(String groupsParam) Set the url of the sub repo.
| |
| setRecommendShallow | back to summary |
|---|---|
| public void setRecommendShallow(String recommendShallow) Sets the recommendation for shallowness.
| |
| setUpstream | back to summary |
|---|---|
| public void setUpstream(String upstream) Set the upstream attribute of the project Name of the git ref in which a sha1 can be found, when the revision is a sha1.
| |
| setUrl | back to summary |
|---|---|
| public RepoProject setUrl(String url) Set the url of the sub repo.
| |
| Access | Constructor and Description |
|---|---|
| public | CopyFile(Repository
the super project. repo, String the path of the project containing this copyfile config. path, String the source path relative to the sub repo. src, String the destination path relative to the super project. dest)
|
| Modifier and Type | Method and Description |
|---|---|
| public void |
| CopyFile | back to summary |
|---|---|
public CopyFile(Repository repo, String path, String src, String dest)
| |
| copy | back to summary |
|---|---|
| public void copy() throws IOException Do the copy file action.
| |
| Access | Constructor and Description |
|---|---|
| public | LinkFile(Repository
the super project. repo, String the path of the project containing this linkfile config. path, String the source path relative to the sub repo. src, String the destination path relative to the super project. dest)
|
| LinkFile | back to summary |
|---|---|
public LinkFile(Repository repo, String path, String src, String dest)
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final String | |
| pack-priv final String | |
| pack-priv final Repository | |
| pack-priv final String |
| Access | Constructor and Description |
|---|---|
| public | ReferenceFile(Repository
the super project. repo, String the path of the project containing this copyfile config. path, String the source path relative to the sub repo. src, String the destination path relative to the super project. dest)
|
| dest | back to summary |
|---|---|
| pack-priv final String dest | |
| path | back to summary |
|---|---|
| pack-priv final String path | |
| repo | back to summary |
|---|---|
| pack-priv final Repository repo | |
| src | back to summary |
|---|---|
| pack-priv final String src | |
| ReferenceFile | back to summary |
|---|---|
public ReferenceFile(Repository repo, String path, String src, String dest)
| |