Package org.syncany.operations.init
Class GenlinkOperation
- java.lang.Object
-
- org.syncany.operations.Operation
-
- org.syncany.operations.init.AbstractInitOperation
-
- org.syncany.operations.init.GenlinkOperation
-
public class GenlinkOperation extends AbstractInitOperation
This operation generates a link which can be shared among users to connect to a repository. The operation is used by other initializing operations, e.g. connect and init.
-
-
Field Summary
-
Fields inherited from class org.syncany.operations.init.AbstractInitOperation
eventBus, listener
-
-
Constructor Summary
Constructors Constructor Description GenlinkOperation(Config config, GenlinkOperationOptions options)
GenlinkOperation(ConfigTO configTO, GenlinkOperationOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenlinkOperationResult
execute()
Executes the operation synchronously and returns a result when the operation exits.-
Methods inherited from class org.syncany.operations.init.AbstractInitOperation
createAppDirs, createTransferManagerFromNullConfig, deleteAppDirs, fireNotifyCreateMaster
-
-
-
-
Constructor Detail
-
GenlinkOperation
public GenlinkOperation(Config config, GenlinkOperationOptions options)
-
GenlinkOperation
public GenlinkOperation(ConfigTO configTO, GenlinkOperationOptions options)
-
-
Method Detail
-
execute
public GenlinkOperationResult 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.
-
-