|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ant4eclipse.model.projectset.TeamProjectDescription
public class TeamProjectDescription
Implements a description of a project to be shared in a team. The description contains the name, the repository-location and the branch/version tag of the project. The TeamProjectDescription is read form an eclipse .psf-file.
Constructor Summary | |
---|---|
TeamProjectDescription(java.lang.String projectname,
CvsRoot cvsroot,
java.lang.String nameInRepository,
java.lang.String tag)
Creates a new instance of type TeamProjectDescription |
|
TeamProjectDescription(java.lang.String projectname,
java.lang.String cvsroot,
java.lang.String nameInRepository,
java.lang.String tag)
Creates a new instance of type TeamProjectDescription |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getBranchOrVersionTag()
Returns the tag of the branch or version. |
CvsRoot |
getCvsRoot()
Returns the cvsRoot. |
java.lang.String |
getNameInRepository()
Returns the name of the project in the repository. |
java.lang.String |
getProjectName()
Returns the name of the project. |
CvsRoot |
getResolvedCvsRoot()
Returns the resolved CvsRoot (e.g. |
boolean |
hasBranchOrVersionTag()
Returns whether the project has a branch or version tag. |
int |
hashCode()
|
boolean |
isCvsUserSet()
Returns whether the cvs user and the cvs password is set. |
boolean |
isHead()
Returns whether the project is from the cvs head. |
void |
setCvsUserAndPassword(java.lang.String cvsUser,
java.lang.String cvsPwd)
Sets the cvs user und password. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TeamProjectDescription(java.lang.String projectname, CvsRoot cvsroot, java.lang.String nameInRepository, java.lang.String tag)
projectname
- the name of the projectcvsroot
- the cvsroot of the projectnameInRepository
- the name of the project in the repositorytag
- the tagpublic TeamProjectDescription(java.lang.String projectname, java.lang.String cvsroot, java.lang.String nameInRepository, java.lang.String tag)
projectname
- the name of the projectcvsroot
- the cvsroot of the projectnameInRepository
- the name of the project in the repositorytag
- the tagMethod Detail |
---|
public java.lang.String getBranchOrVersionTag()
public CvsRoot getCvsRoot()
public CvsRoot getResolvedCvsRoot()
true
. If isCvsUserAndPasswordSet() returns false
,
a PreconditionViolatedException will be thrown.
public java.lang.String getProjectName()
public java.lang.String getNameInRepository()
public boolean isHead()
public boolean hasBranchOrVersionTag()
public boolean isCvsUserSet()
public void setCvsUserAndPassword(java.lang.String cvsUser, java.lang.String cvsPwd)
cvsUser
- the cvs user.cvsPwd
- the cvs password might be nullpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |