Class TransferPlugin

  • Direct Known Subclasses:
    LocalTransferPlugin

    public abstract class TransferPlugin
    extends Plugin
    The transfer plugin is a special plugin responsible for transferring files to the remote storage. Implementations must provide implementations for TransferPlugin (this class), TransferSettings (connection details) and TransferManager (transfer methods).

    Plugins have to follow a naming convention:

    • Package names have to be lower snaked cased
    • Class names have to be camel cased
    • Package names will be converted to class names by replacing underscores ('_') and uppercasing the subsequent character.

    Example:

    A plugin is called DummyPlugin, hence org.syncany.plugins.dummy_plugin.DummyPluginTransferPlugin is the plugin's TransferPlugin class and org.syncany.plugins.dummy_plugin.DummyPluginTransferSettings is the corresponding TransferSettings implementation.