org.eclipse.emf.ecp.core.util
Interface ECPCheckoutSource

All Superinterfaces:
ECPProviderAware, ECPRepositoryAware
All Known Implementing Classes:
CDOBranchWrapper, EMFStoreProjectWrapper

public interface ECPCheckoutSource
extends ECPRepositoryAware

This class describes an object that can be checked out.

Author:
Eike Stepper, Eugen Neufeld

Method Summary
 void checkout(String projectName, ECPProperties projectProperties)
          This method is called in order execute the checkout.
 String getDefaultCheckoutName()
          This return the default name for a project that was checked out.
 
Methods inherited from interface org.eclipse.emf.ecp.core.util.ECPRepositoryAware
getRepository
 
Methods inherited from interface org.eclipse.emf.ecp.core.util.ECPProviderAware
getProvider
 

Method Detail

getDefaultCheckoutName

String getDefaultCheckoutName()
This return the default name for a project that was checked out.

Returns:
the default name

checkout

void checkout(String projectName,
              ECPProperties projectProperties)
              throws ECPProjectWithNameExistsException
This method is called in order execute the checkout.

Parameters:
projectName - the name of the project to create
projectProperties - the ECPProperties to use
Throws:
ECPProjectWithNameExistsException - is thrown when a project with such a name already exists


Copyright © 2014. All Rights Reserved.