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
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopyDirectoryStructure(File sourceDirectory, File destinationDirectory, List<ScmFile> modifications) Copies a entire directory structure and collect modifications.protected UpdateScmResultexecuteUpdateCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion version) protected ChangeLogCommandMethods inherited from class org.apache.maven.scm.command.update.AbstractUpdateCommand
executeCommandMethods inherited from class org.apache.maven.scm.command.AbstractCommand
execute, getLogger, setLogger
-
Constructor Details
-
SynergyUpdateCommand
public SynergyUpdateCommand()
-
-
Method Details
-
executeUpdateCommand
protected UpdateScmResult executeUpdateCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion version) throws ScmException - Specified by:
executeUpdateCommandin classAbstractUpdateCommand- Throws:
ScmException
-
getChangeLogCommand
- Specified by:
getChangeLogCommandin classAbstractUpdateCommand
-
copyDirectoryStructure
public static void copyDirectoryStructure(File sourceDirectory, File destinationDirectory, List<ScmFile> modifications) throws IOException Copies a entire directory structure and collect modifications.Note:
- It will include empty directories.
- The
sourceDirectorymust exists.
- Parameters:
sourceDirectory-destinationDirectory-- Throws:
IOException
-