Interface IFileValueConfigurator<Self extends IFileValueConfigurator<Self>>

  • All Known Subinterfaces:
    IFileValueBuilder

    public interface IFileValueConfigurator<Self extends IFileValueConfigurator<Self>>
    A configurator for a file value.
    Since:
    8.2.0
    • Method Detail

      • file

        Self file​(String fileKey,
                  IFileListCreator fileListCreator)
        Adds a file to the file value for the given type of file.
        Parameters:
        fileKey - The key for the file type.
        fileListCreator - Creator for the file list value.
        Returns:
        The builder for chaining method calls.
      • file

        default Self file​(IFileListCreator fileListConfigurator)
        Adds a file to the file value for the default type of file.
        Parameters:
        fileListConfigurator - Creator for the file list value.
        Returns:
        The builder for chaining method calls.
      • fileValues

        default Self fileValues​(IWorkflowFile... files)
        Adds a file to the file value for the default file type.
        Parameters:
        files - The files to add.
        Returns:
        The builder for chaining method calls.
      • fileValues

        default Self fileValues​(Iterable<? extends IWorkflowFile> files)
        Adds a file to the file value for the default file type.
        Parameters:
        files - The files to add.
        Returns:
        The builder for chaining method calls.
      • fileValues

        default Self fileValues​(String fileKey,
                                IWorkflowFile... files)
        Adds a file to the file value for the given type of file.
        Parameters:
        fileKey - The key for the file type.
        files - The files to add.
        Returns:
        The builder for chaining method calls.
      • fileValues

        default Self fileValues​(String fileKey,
                                Iterable<? extends IWorkflowFile> files)
        Adds a file to the file value for the given type of file.
        Parameters:
        fileKey - The key for the file type.
        files - The files to add.
        Returns:
        The builder for chaining method calls.
      • files

        default Self files​(Iterable<File> files)
        Adds a file to the file value for the default file type. The contents of the files will be guessed.
        Parameters:
        files - The files to add.
        Returns:
        The builder for chaining method calls.
      • files

        default Self files​(File... files)
        Adds a file to the file value for the default file type. The contents of the files will be guessed.
        Parameters:
        files - The files to add.
        Returns:
        The builder for chaining method calls.
      • files

        default Self files​(IWorkflowFileValue files)
        Adds all data from the given file value to this configurator.
        Parameters:
        files - The file value to add.
        Returns:
        The builder for chaining method calls.
      • files

        default Self files​(String fileKey,
                           File... files)
        Adds a file to the file value for the given type of file. The contents of the files will be guessed.
        Parameters:
        fileKey - The key for the file type.
        files - The files to add.
        Returns:
        The builder for chaining method calls.
      • files

        default Self files​(String fileKey,
                           Iterable<File> files)
        Adds a file to the file value for the given type of file. The contents of the files will be guessed.
        Parameters:
        fileKey - The key for the file type.
        files - The files to add.
        Returns:
        The builder for chaining method calls.
      • paths

        default Self paths​(Iterable<Path> paths)
        Adds a file to the file value for the default file type. The contents of the files will be guessed.
        Parameters:
        paths - The files to add.
        Returns:
        The builder for chaining method calls.
      • paths

        default Self paths​(Path... paths)
        Adds a file to the file value for the default file type. The contents of the files will be guessed.
        Parameters:
        paths - The files to add.
        Returns:
        The builder for chaining method calls.
      • paths

        default Self paths​(String fileKey,
                           Path... paths)
        Adds a file to the file value for the given type of file. The contents of the files will be guessed.
        Parameters:
        fileKey - The key for the file type.
        paths - The files to add.
        Returns:
        The builder for chaining method calls.
      • paths

        default Self paths​(String fileKey,
                           Iterable<Path> paths)
        Adds a file to the file value for the given type of file. The contents of the files will be guessed.
        Parameters:
        fileKey - The key for the file type.
        paths - The files to add.
        Returns:
        The builder for chaining method calls.
      • self

        Self self()
        Returns:
        The builder for chaining method calls.
      • value

        default Self value​(IWorkflowFileValue value)
        Adds the given files to this configurator.
        Parameters:
        value - The value with files to add.
        Returns:
        The builder for chaining method calls.