Interface BLStagingRepositoryUploadType

All Known Implementing Classes:
BLStagingRepositoryUpload

@Immutable
public interface BLStagingRepositoryUploadType
A request to upload a set of files to a staging repository.
  • Method Summary

    Modifier and Type Method Description
    java.nio.file.Path baseDirectory()  
    default void checkPreconditions()
    Check preconditions for the type.
    java.util.List<java.nio.file.Path> files()  
    java.lang.String repositoryId()  
    int retryCount()  
    java.time.Duration retryDelay()  
  • Method Details

    • repositoryId

      java.lang.String repositoryId()
      Returns:
      The ID of the staging repository
    • baseDirectory

      java.nio.file.Path baseDirectory()
      Returns:
      The base directory containing files
    • files

      java.util.List<java.nio.file.Path> files()
      Returns:
      The files to be uploaded
    • retryDelay

      java.time.Duration retryDelay()
      Returns:
      The duration by which to pause between failed upload attempts
    • retryCount

      int retryCount()
      Returns:
      The maximum number of times to retry uploading any given file
    • checkPreconditions

      @Check default void checkPreconditions()
      Check preconditions for the type.