|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ant4eclipse.model.project.AbstractProjectRole
net.sf.ant4eclipse.model.project.cvsproject.CvsProjectRole
public final class CvsProjectRole
Implements the cvs role of a project.
Field Summary | |
---|---|
static java.lang.String |
NAME
the name for this role |
Constructor Summary | |
---|---|
CvsProjectRole(java.lang.String projectNameInRepository,
CvsRoot cvsRoot,
java.lang.String branchOrVersionTag)
Creates a new instance of type CvsProjectRole. |
|
CvsProjectRole(java.lang.String projectNameInRepository,
java.lang.String cvsRoot,
java.lang.String branchOrVersionTag)
Creates a new instance of type CvsProjectRole. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getBranchOrVersionTag()
Returns the branch or version tag, or null if no tag exists. |
CvsRoot |
getCvsRoot()
Returns the cvs root. |
java.lang.String |
getProjectNameInRepository()
Returns the name of the project in the repository. |
boolean |
hasBranchOrVersionTag()
Returns whether the project has a branch or version tag. |
boolean |
isHead()
Returns whether the project is head. |
java.lang.String |
toString()
|
Methods inherited from class net.sf.ant4eclipse.model.project.AbstractProjectRole |
---|
getName, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAME
Constructor Detail |
---|
public CvsProjectRole(java.lang.String projectNameInRepository, java.lang.String cvsRoot, java.lang.String branchOrVersionTag)
projectNameInRepository
- the name of the project in the repositorycvsRoot
- the cvsRoot for the projectbranchOrVersionTag
- the name of the branch or versionpublic CvsProjectRole(java.lang.String projectNameInRepository, CvsRoot cvsRoot, java.lang.String branchOrVersionTag)
projectNameInRepository
- the name of the project in the repositorycvsRoot
- the cvsRoot for the projectbranchOrVersionTag
- the name of the branch or versionMethod Detail |
---|
public boolean isHead()
public boolean hasBranchOrVersionTag()
public java.lang.String getBranchOrVersionTag()
public java.lang.String getProjectNameInRepository()
public CvsRoot getCvsRoot()
public boolean equals(java.lang.Object o)
equals
in class AbstractProjectRole
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |