Class CopyFilesNamingWithoutSharedState
Object
org.anchoranalysis.bean.AnchorBean<CopyFilesNaming<T>>
org.anchoranalysis.plugin.io.bean.file.copy.naming.CopyFilesNaming<org.anchoranalysis.experiment.task.NoSharedState>
org.anchoranalysis.plugin.io.bean.file.copy.naming.CopyFilesNamingWithoutSharedState
- Direct Known Subclasses:
CopyFilesNamingOne,OutputPrefixWithExtension,PreserveName
public abstract class CopyFilesNamingWithoutSharedState extends CopyFilesNaming<org.anchoranalysis.experiment.task.NoSharedState>
Base class for implementations of
CopyFilesNaming where each file is copied independently
of the others.- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description CopyFilesNamingWithoutSharedState() -
Method Summary
Modifier and Type Method Description org.anchoranalysis.experiment.task.NoSharedStatebeforeCopying(Path destinationDirectory, List<org.anchoranalysis.io.input.file.FileWithDirectoryInput> inputs)To be called once before any calls toCopyFilesNaming.destinationPath(File, DirectoryWithPrefix, int, CopyContext).Methods inherited from class org.anchoranalysis.plugin.io.bean.file.copy.naming.CopyFilesNaming
destinationPath, destinationPathRelative
-
Constructor Details
-
CopyFilesNamingWithoutSharedState
public CopyFilesNamingWithoutSharedState()
-
-
Method Details
-
beforeCopying
public org.anchoranalysis.experiment.task.NoSharedState beforeCopying(Path destinationDirectory, List<org.anchoranalysis.io.input.file.FileWithDirectoryInput> inputs) throws org.anchoranalysis.core.exception.OperationFailedExceptionDescription copied from class:CopyFilesNamingTo be called once before any calls toCopyFilesNaming.destinationPath(File, DirectoryWithPrefix, int, CopyContext).- Specified by:
beforeCopyingin classCopyFilesNaming<org.anchoranalysis.experiment.task.NoSharedState>- Parameters:
destinationDirectory- the directory to which files are copied.inputs- the total number of files to copy.- Throws:
org.anchoranalysis.core.exception.OperationFailedException
-