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 d57afd7 at Sun Nov 18 14:29:16 UTC 2018
Copyright © 2011-2015 Philipp C. Heckel