@ParametersAreNonnullByDefault public class FileCopyService extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FileCopyService.CopyFailure
This class provides information about an error which occurred while using FileUtils.copyFile.
|
Constructor and Description |
---|
FileCopyService(ModificationMigrationLocationService locationService) |
Modifier and Type | Method and Description |
---|---|
Set<FileCopyService.CopyFailure> |
copyFiles(Collection<Path> relativeFilePaths)
attempts to copy each of the relative to source from in the modifications folder
to their same location relative to the jira install directory.
|
public FileCopyService(ModificationMigrationLocationService locationService)
@Nonnull public Set<FileCopyService.CopyFailure> copyFiles(Collection<Path> relativeFilePaths)
Directories will be created if necessary.
relativeFilePaths
- the list of files to be copied acrossCopyright © 2002-2022 Atlassian. All Rights Reserved.