public class EMFStoreProjectWrapper extends Object implements ECPCheckoutSource
ECPCheckoutSource
.Constructor and Description |
---|
EMFStoreProjectWrapper(InternalRepository repository,
org.eclipse.emf.emfstore.client.ESRemoteProject remoteProject)
The Constructor fro creating an
EMFStoreProjectWrapper . |
Modifier and Type | Method and Description |
---|---|
void |
checkout(String projectName,
ECPProperties projectProperties)
This method is called in order execute the checkout.
|
org.eclipse.emf.emfstore.client.ESRemoteProject |
getCheckoutData()
This return the
ESRemoteProject used in this wrapper. |
String |
getDefaultCheckoutName()
This return the default name for a project that was checked out.
|
ECPProvider |
getProvider()
The Provider this class references in any way.
|
ECPRepository |
getRepository()
This returns the
ECPRepository this object references in any way. |
public EMFStoreProjectWrapper(InternalRepository repository, org.eclipse.emf.emfstore.client.ESRemoteProject remoteProject)
EMFStoreProjectWrapper
.repository
- the repository for this CheckoutSourceremoteProject
- the remote project to be checked outpublic ECPRepository getRepository()
ECPRepository
this object references in any way.getRepository
in interface ECPRepositoryAware
ECPRepository
public ECPProvider getProvider()
getProvider
in interface ECPProviderAware
ECPProvider
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 existspublic org.eclipse.emf.emfstore.client.ESRemoteProject getCheckoutData()
ESRemoteProject
used in this wrapper.ESRemoteProject
usedCopyright © 2016. All rights reserved.