Package org.syncany.operations.ls_remote
Class LsRemoteOperation
- java.lang.Object
-
- org.syncany.operations.Operation
-
- org.syncany.operations.ls_remote.LsRemoteOperation
-
public class LsRemoteOperation extends Operation
The list remote operation queries the transfer manager for any unknownDatabaseRemoteFile
s.It first uses a
TransferManager
to list all remote databases and then uses the local list of known databases to filter already processed files. The local list of known databases is loaded.
-
-
Constructor Summary
Constructors Constructor Description LsRemoteOperation(Config config)
LsRemoteOperation(Config config, TransferManager transferManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LsRemoteOperationResult
execute()
Executes the operation synchronously and returns a result when the operation exits.
-
-
-
Constructor Detail
-
LsRemoteOperation
public LsRemoteOperation(Config config)
-
LsRemoteOperation
public LsRemoteOperation(Config config, TransferManager transferManager)
-
-
Method Detail
-
execute
public LsRemoteOperationResult execute() throws java.lang.Exception
Description copied from class:Operation
Executes the operation synchronously and returns a result when the operation exits. Using covariance is recommend, that is OperationFoo should override execute so as to return a OperationFooResult rather than OperationResult.
-
-