public class RepoProject extends Object implements Comparable<RepoProject>
| Modifier and Type | Class and Description |
|---|---|
static class |
RepoProject.CopyFile
The representation of a copy file configuration.
|
| Constructor and Description |
|---|
RepoProject(String name,
String path,
String revision,
String remote,
String groups) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCopyFile(RepoProject.CopyFile copyfile)
Add a copy file configuration.
|
int |
compareTo(RepoProject that) |
boolean |
equals(Object o) |
String |
getRevision()
Get the revision of the sub repo.
|
int |
hashCode() |
boolean |
isAncestorOf(RepoProject that)
Check if this sub repo is the ancestor of given sub repo.
|
RepoProject |
setDefaultRevision(String defaultRevision)
Set the default revision for the sub repo.
|
RepoProject |
setUrl(String url)
Set the url of the sub repo.
|
public RepoProject setUrl(String url)
url - public RepoProject setDefaultRevision(String defaultRevision)
defaultRevision - public String getRevision()
public void addCopyFile(RepoProject.CopyFile copyfile)
copyfile - public boolean isAncestorOf(RepoProject that)
that - non nullpublic int compareTo(RepoProject that)
compareTo in interface Comparable<RepoProject>Copyright © 2015. All rights reserved.