Class CoffeePickCatalog

    • Method Detail

      • fetch

        public java.io.InputStream fetch​(java.lang.String id)
                                  throws java.io.IOException
        Specified by:
        fetch in interface CoffeePickCatalogType
        Parameters:
        id - The ID of the runtime
        Returns:
        An input stream representing the archive of the runtime
        Throws:
        java.io.IOException - On I/O errors
      • updateRepository

        public void updateRepository​(java.net.URI uri,
                                     CoffeePickIsCancelledType cancelled)
                              throws java.lang.Exception
        Description copied from interface: CoffeePickCatalogType
        Update the repository with the given URI. The method takes a function cancelled that will be evaluated repeatedly and, if the function returns true at any point, the operation will be cancelled.
        Specified by:
        updateRepository in interface CoffeePickCatalogType
        Parameters:
        uri - The URI
        cancelled - A function that returns true if the operation should be cancelled
        Throws:
        java.lang.Exception - On errors
        java.util.concurrent.CancellationException - If cancelled returns true while the operation is running