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 void
copyDirectoryStructure
(File sourceDirectory, File destinationDirectory, List<ScmFile> modifications) Copies a entire directory structure and collect modifications.protected UpdateScmResult
executeUpdateCommand
(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion version) protected ChangeLogCommand
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
-
Constructor Details
-
SynergyUpdateCommand
public SynergyUpdateCommand()
-
-
Method Details
-
executeUpdateCommand
protected UpdateScmResult executeUpdateCommand(ScmProviderRepository repository, ScmFileSet fileSet, ScmVersion version) throws ScmException - Specified by:
executeUpdateCommand
in classAbstractUpdateCommand
- Throws:
ScmException
-
getChangeLogCommand
- Specified by:
getChangeLogCommand
in 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
sourceDirectory
must exists.
- Parameters:
sourceDirectory
-destinationDirectory
-- Throws:
IOException
-