|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecp.cdo.internal.core.CDOBranchWrapper
public class CDOBranchWrapper
Wraps are CDO branch for ECP, so it can be checked out.
Constructor Summary | |
---|---|
CDOBranchWrapper(InternalRepository repository,
String branchPath)
Default constructor. |
Method Summary | |
---|---|
void |
checkout(String projectName,
ECPProperties projectProperties)
This method is called in order execute the checkout. |
String |
getBranchPath()
Returns the branch path of the wrapped CDO branch. |
String |
getDefaultCheckoutName()
This return the default name for a project that was checked out. |
String |
getName()
Return the name of the wrapped CDO branch. |
ECPProvider |
getProvider()
The Provider this class references in any way. |
InternalRepository |
getRepository()
This returns the ECPRepository this object references in any way. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CDOBranchWrapper(InternalRepository repository, String branchPath)
repository
- the repositorybranchPath
- the branch pathMethod Detail |
---|
public ECPProvider getProvider()
getProvider
in interface ECPProviderAware
ECPProvider
public final InternalRepository getRepository()
ECPRepository
this object references in any way.
getRepository
in interface ECPRepositoryAware
ECPRepository
public final String getBranchPath()
public String getName()
public String getDefaultCheckoutName()
getDefaultCheckoutName
in interface ECPCheckoutSource
public void checkout(String projectName, ECPProperties projectProperties) throws ECPProjectWithNameExistsException
checkout
in interface ECPCheckoutSource
projectName
- the name of the project to createprojectProperties
- the ECPProperties
to use
ECPProjectWithNameExistsException
- is thrown when a project with such a name already existspublic String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |