Interface CopyOrReadable


  • public interface CopyOrReadable
    • Method Detail

      • upload

        boolean upload​(Path path)
        Upload file located at specified Path to Pod
        Parameters:
        path - path of the file which needs to be uploaded
        Returns:
        boolean value regarding upload was successful or not.
      • upload

        boolean upload​(InputStream inputStream)
        Upload file extracted from provided InputStream to Pod
        Parameters:
        inputStream - InputStream which will be uploaded
        Returns:
        boolean value regarding upload was successful or not.
      • copy

        boolean copy​(Path destination)
      • withReadyWaitTimeout

        CopyOrReadable withReadyWaitTimeout​(Integer timeout)
        How long to wait for a ready or terminal pod before performing the copy or read operation.
        Parameters:
        timeout - in milliseconds