Class ResolvedMultiFile
- java.lang.Object
-
- de.xima.fc.workflow.processor.model.ResolvedMultiFile
-
- All Implemented Interfaces:
IResolvedMultiFile
,Serializable
public final class ResolvedMultiFile extends Object implements IResolvedMultiFile, Serializable
Default POJO implementation ofIResolvedMultiFile
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResolvedMultiFile(File containingDirectory, List<IResolvedFile> individualFiles)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IResolvedMultiFile
empty(File containingDirectory)
File
getContainingDirectory()
List<IResolvedFile>
getIndividualFiles()
-
-
-
Constructor Detail
-
ResolvedMultiFile
public ResolvedMultiFile(File containingDirectory, List<IResolvedFile> individualFiles)
- Parameters:
containingDirectory
- Value returned bygetContainingDirectory()
.individualFiles
- Value returned bygetIndividualFiles()
.
-
-
Method Detail
-
getContainingDirectory
public File getContainingDirectory()
- Specified by:
getContainingDirectory
in interfaceIResolvedMultiFile
- Returns:
- A temporary directory with all the files from the given descriptor. Empty directory when no files were found.
-
getIndividualFiles
public List<IResolvedFile> getIndividualFiles()
- Specified by:
getIndividualFiles
in interfaceIResolvedMultiFile
- Returns:
- A list of pairs with the original name of the file, and the file object representing the file with the data.
-
empty
public static IResolvedMultiFile empty(File containingDirectory)
- Parameters:
containingDirectory
- Value returned bygetContainingDirectory()
.- Returns:
- A new empty resolved multi file with no individual files.
-
-