com.mindsnacks.zinc.classes.ZincJobFactory Maven / Gradle / Ivy
package com.mindsnacks.zinc.classes;
import com.mindsnacks.zinc.classes.data.*;
import java.io.File;
import java.net.URL;
import java.util.concurrent.Callable;
import java.util.concurrent.Future;
/**
* User: NachoSoto
* Date: 9/5/13
*/
public interface ZincJobFactory {
Callable downloadCatalog(SourceURL sourceURL);
Callable downloadManifest(SourceURL sourceURL, String bundleName, int version);
Callable downloadArchive(URL url, File root, String child, boolean override);
Callable cloneBundle(ZincCloneBundleRequest request, Future catalogFuture);
Callable downloadBundle(ZincCloneBundleRequest request, Future catalogFuture);
Callable unarchiveBundle(ZincBundle downloadedBundle,
ZincCloneBundleRequest request);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy