Search in sources :

Example 1 with IntegrityUpdateCommand

use of org.apache.maven.scm.provider.integrity.command.update.IntegrityUpdateCommand in project maven-scm by apache.

the class IntegrityScmProvider method update.

/**
 * Maps to si resync
 */
@Override
protected UpdateScmResult update(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException {
    IntegrityUpdateCommand command = new IntegrityUpdateCommand();
    command.setLogger(getLogger());
    return (UpdateScmResult) command.execute(repository, fileSet, params);
}
Also used : UpdateScmResult(org.apache.maven.scm.command.update.UpdateScmResult) IntegrityUpdateCommand(org.apache.maven.scm.provider.integrity.command.update.IntegrityUpdateCommand)

Aggregations

UpdateScmResult (org.apache.maven.scm.command.update.UpdateScmResult)1 IntegrityUpdateCommand (org.apache.maven.scm.provider.integrity.command.update.IntegrityUpdateCommand)1