public class TransferManagerFactory extends java.lang.Object
Configobject, and wraps it into the requested
Depending on the
Features that the original transfer manager is
annotated with, the factory will wrap it into the corresponding feature
specific transfer managers.
The class uses the builder pattern. It can be used like this:
TransactionAwareFeatureTransferManager txAwareTM = TransferManagerFactory .build(config) .withFeature(Retriable.class) .withFeature(PathAware.class) .withFeature(TransactionAware.class) .as(TransactionAware.class);
|Modifier and Type||Class and Description|
|Constructor and Description|
|Modifier and Type||Method and Description|
public static TransferManagerFactory.TransferManagerBuilder build(Config config) throws StorageException
Configusing the configured
TransferPlugin. Using this builder, the feature-wrapped transfer manager can be built.
Syncany is an open-source cloud storage and filesharing application.
Code located at https://github.com/syncany/syncany
JavaDoc for version 0.4.9-alpha generated based on commit f2749f7 at Thu Feb 16 08:16:44 UTC 2017
Copyright © 2011-2015 Philipp C. Heckel