Class SynergyUpdateCommand
- java.lang.Object
-
- org.apache.maven.scm.command.AbstractCommand
-
- org.apache.maven.scm.command.update.AbstractUpdateCommand
-
- org.apache.maven.scm.provider.synergy.command.update.SynergyUpdateCommand
-
- All Implemented Interfaces:
Command
,SynergyCommand
public class SynergyUpdateCommand extends AbstractUpdateCommand implements SynergyCommand
-
-
Constructor Summary
Constructors Constructor Description SynergyUpdateCommand()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
copyDirectoryStructure(java.io.File sourceDirectory, java.io.File destinationDirectory, java.util.List<ScmFile> modifications)
Copies a entire directory structure and collect modifications.protected UpdateScmResult
executeUpdateCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion version)
protected ChangeLogCommand
getChangeLogCommand()
-
Methods inherited from class org.apache.maven.scm.command.update.AbstractUpdateCommand
executeCommand
-
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute, getLogger, setLogger
-
-
-
-
Method Detail
-
executeUpdateCommand
protected UpdateScmResult executeUpdateCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion version) throws ScmException
- Specified by:
executeUpdateCommand
in classAbstractUpdateCommand
- Throws:
ScmException
-
getChangeLogCommand
protected ChangeLogCommand getChangeLogCommand()
- Specified by:
getChangeLogCommand
in classAbstractUpdateCommand
-
copyDirectoryStructure
public static void copyDirectoryStructure(java.io.File sourceDirectory, java.io.File destinationDirectory, java.util.List<ScmFile> modifications) throws java.io.IOException
Copies a entire directory structure and collect modifications. Note:- It will include empty directories.
- The
sourceDirectory
must exists.
- Parameters:
sourceDirectory
-destinationDirectory
-- Throws:
java.io.IOException
-
-