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 Detail

      • getFiles

        @Deprecated
        default List<File> getFiles()
        Deprecated.
        Use getGroupedFiles() 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 the file value descriptor of the workflow element. Use DEFAULT_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.