public class CDOBranchWrapper extends Object implements ECPCheckoutSource
Constructor and Description |
---|
CDOBranchWrapper(InternalRepository repository,
String branchPath)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
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() |
public CDOBranchWrapper(InternalRepository repository, String branchPath)
repository
- the repositorybranchPath
- the branch pathpublic 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 useECPProjectWithNameExistsException
- is thrown when a project with such a name already existsCopyright © 2017. All rights reserved.