org.apache.continuum.scm
Interface ContinuumScm

All Known Implementing Classes:
DefaultContinuumScm

public interface ContinuumScm

Component that manages SCM interactions and checkouts within Continuum.

Version:
$Id: ContinuumScm.java 1372260 2012-08-13 04:29:09Z brett $

Method Summary
 org.apache.maven.scm.command.changelog.ChangeLogScmResult changeLog(ContinuumScmConfiguration config)
          Get change log for a project
 org.apache.maven.scm.command.checkout.CheckOutScmResult checkout(ContinuumScmConfiguration configuration)
          Check out a working copy for a project.
 org.apache.maven.scm.command.update.UpdateScmResult update(ContinuumScmConfiguration config)
          Update a working copy for a project.
 

Method Detail

checkout

org.apache.maven.scm.command.checkout.CheckOutScmResult checkout(ContinuumScmConfiguration configuration)
                                                                 throws IOException,
                                                                        org.apache.maven.scm.repository.ScmRepositoryException,
                                                                        org.apache.maven.scm.manager.NoSuchScmProviderException,
                                                                        org.apache.maven.scm.ScmException
Check out a working copy for a project.

Parameters:
configuration - the configuration for the working copy and SCM
Returns:
the result of the check out
Throws:
IOException - if there is a problem writing to the working copy location
org.apache.maven.scm.manager.NoSuchScmProviderException - if there is a problem with the configuration
org.apache.maven.scm.repository.ScmRepositoryException - if there is a problem with the configuration
org.apache.maven.scm.ScmException - if there is a problem checking out

update

org.apache.maven.scm.command.update.UpdateScmResult update(ContinuumScmConfiguration config)
                                                           throws org.apache.maven.scm.repository.ScmRepositoryException,
                                                                  org.apache.maven.scm.manager.NoSuchScmProviderException,
                                                                  org.apache.maven.scm.ScmException
Update a working copy for a project.

Parameters:
config - the configuration for the working copy and SCM
Returns:
the result of the update
Throws:
org.apache.maven.scm.manager.NoSuchScmProviderException - if there is a problem with the configuration
org.apache.maven.scm.repository.ScmRepositoryException - if there is a problem with the configuration
org.apache.maven.scm.ScmException - if there is a problem updating

changeLog

org.apache.maven.scm.command.changelog.ChangeLogScmResult changeLog(ContinuumScmConfiguration config)
                                                                    throws org.apache.maven.scm.repository.ScmRepositoryException,
                                                                           org.apache.maven.scm.manager.NoSuchScmProviderException,
                                                                           org.apache.maven.scm.ScmException
Get change log for a project

Parameters:
config - the configuration for the working copy and SCM
Returns:
the result of the change log
Throws:
org.apache.maven.scm.repository.ScmRepositoryException - if there is a problem with the configuration
org.apache.maven.scm.manager.NoSuchScmProviderException - if there is a problem with the configuration
org.apache.maven.scm.ScmException - if there is a problem getting the change log


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.