Class CopyFilesNamingWithoutSharedState
- Direct Known Subclasses:
CopyFilesNamingOne,OutputPrefixWithExtension,PreserveName
Base class for implementations of
CopyFilesNaming where each file is copied independently
of the others.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbeforeCopying(Path destinationDirectory, List<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, destinationPathRelativeMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
CopyFilesNamingWithoutSharedState
public CopyFilesNamingWithoutSharedState()
-
-
Method Details
-
beforeCopying
public NoSharedState beforeCopying(Path destinationDirectory, List<FileWithDirectoryInput> inputs) throws OperationFailedException Description copied from class:CopyFilesNamingTo be called once before any calls toCopyFilesNaming.destinationPath(File, DirectoryWithPrefix, int, CopyContext).- Specified by:
beforeCopyingin classCopyFilesNaming<NoSharedState>- Parameters:
destinationDirectory- the directory to which files are copied.inputs- the total number of files to copy.- Throws:
OperationFailedException
-