org.apache.maven.scm.provider.integrity.command.export
Class IntegrityExportCommand

java.lang.Object
  extended by org.apache.maven.scm.command.AbstractCommand
      extended by org.apache.maven.scm.command.export.AbstractExportCommand
          extended by org.apache.maven.scm.provider.integrity.command.export.IntegrityExportCommand
All Implemented Interfaces:
Command

public class IntegrityExportCommand
extends AbstractExportCommand

MKS Integrity implementation for Maven's AbstractExportCommand
Since the IntegrityCheckoutCommand creates a fresh Sandbox in the checkoutDirectory, it does not make sense for the IntegrityExportCommand to essentially do the same thing.
Hence, this command does not create a Sandbox, instead the entire project contents are exported to the exportDirectory using the 'si projectco' command.
This gives the user the option of exporting a fresh copy of the repository void of any project.pj files

Since:
1.6
Version:
$Id: IntegrityExportCommand.java 1.3 2011/08/22 13:06:26EDT Cletus D'Souza (dsouza) Exp $
Author:
Cletus D'Souza

Field Summary
 
Fields inherited from interface org.apache.maven.scm.command.Command
ROLE
 
Constructor Summary
IntegrityExportCommand()
           
 
Method Summary
 ExportScmResult executeExportCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion scmVersion, String outputDirectory)
          
 
Methods inherited from class org.apache.maven.scm.command.export.AbstractExportCommand
executeCommand
 
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute, getLogger, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegrityExportCommand

public IntegrityExportCommand()
Method Detail

executeExportCommand

public ExportScmResult executeExportCommand(ScmProviderRepository repository,
                                            ScmFileSet fileSet,
                                            ScmVersion scmVersion,
                                            String outputDirectory)
                                     throws ScmException

Specified by:
executeExportCommand in class AbstractExportCommand
Throws:
ScmException


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