Interface IWorkflowFileValue
-
- All Known Implementing Classes:
WorkflowFileValue
public interface IWorkflowFileValue
Represents part of the result provided by a workflow element. such as the files provided by a trigger or the files created by a node when executed.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default List<File>
getFiles()
Deprecated.UsegetGroupedFiles()
instead.default Map<String,List<IWorkflowFile>>
getGroupedFiles()
A list files that should be made available to the workflow context, grouped by the type of the files.default boolean
hasAnyFiles()
Whether any file group has any files.
-
-
-
Method Detail
-
getFiles
@Deprecated default List<File> getFiles()
Deprecated.UsegetGroupedFiles()
instead.A list of files that should be made available to the workflow context. Must point to existing files.- Returns:
- A list of files created or provided by the workflow element.
-
getGroupedFiles
default Map<String,List<IWorkflowFile>> getGroupedFiles()
A list files that should be made available to the workflow context, grouped by the type of the files. Must point to existing files. The map keys must agree with thefile value descriptor
of the workflow element. UseDEFAULT_FILE_KEY
as the key for the default list of files.- Returns:
- A map with the files for each file type.
- Since:
- 8.2.0
-
hasAnyFiles
default boolean hasAnyFiles()
Whether any file group has any files.- Returns:
- Whether any file group has any files.
-
-