Package org.syncany.operations.restore
Class RestoreOperation
- java.lang.Object
-
- org.syncany.operations.Operation
-
- org.syncany.operations.AbstractTransferOperation
-
- org.syncany.operations.restore.RestoreOperation
-
public class RestoreOperation extends AbstractTransferOperation
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACTION_ID
-
Fields inherited from class org.syncany.operations.AbstractTransferOperation
actionHandler, eventBus, transferManager
-
-
Constructor Summary
Constructors Constructor Description RestoreOperation(Config config)
RestoreOperation(Config config, RestoreOperationOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestoreOperationResult
execute()
Executes the operation synchronously and returns a result when the operation exits.-
Methods inherited from class org.syncany.operations.AbstractTransferOperation
finishOperation, getLastRemoteCleanupNumber, getNewestDatabaseFileVersion, otherRemoteOperationsRunning, startOperation
-
-
-
-
Field Detail
-
ACTION_ID
public static final java.lang.String ACTION_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RestoreOperation
public RestoreOperation(Config config)
-
RestoreOperation
public RestoreOperation(Config config, RestoreOperationOptions options)
-
-
Method Detail
-
execute
public RestoreOperationResult 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.
-
-