org.apache.continuum.scm
Class DefaultContinuumScm
java.lang.Object
org.apache.continuum.scm.DefaultContinuumScm
- All Implemented Interfaces:
- ContinuumScm
@Service(value="continuumScm")
public class DefaultContinuumScm
- extends Object
- implements ContinuumScm
- Version:
- $Id: DefaultContinuumScm.java 1372260 2012-08-13 04:29:09Z brett $
- Author:
- Trygve Laugstøl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultContinuumScm
public DefaultContinuumScm()
checkout
public org.apache.maven.scm.command.checkout.CheckOutScmResult checkout(ContinuumScmConfiguration configuration)
throws IOException,
org.apache.maven.scm.ScmException
- Description copied from interface:
ContinuumScm
- Check out a working copy for a project.
- Specified by:
checkout
in interface ContinuumScm
- 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
public org.apache.maven.scm.command.update.UpdateScmResult update(ContinuumScmConfiguration configuration)
throws org.apache.maven.scm.ScmException
- Description copied from interface:
ContinuumScm
- Update a working copy for a project.
- Specified by:
update
in interface ContinuumScm
- Parameters:
configuration
- 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
public org.apache.maven.scm.command.changelog.ChangeLogScmResult changeLog(ContinuumScmConfiguration configuration)
throws org.apache.maven.scm.ScmException
- Description copied from interface:
ContinuumScm
- Get change log for a project
- Specified by:
changeLog
in interface ContinuumScm
- Parameters:
configuration
- 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
getScmManager
public org.apache.maven.scm.manager.ScmManager getScmManager()
setScmManager
public void setScmManager(org.apache.maven.scm.manager.ScmManager scmManager)
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.