Class RcpTaskManagerImpl
- java.lang.Object
-
- org.apache.jackrabbit.vault.rcp.impl.RcpTaskManagerImpl
-
- All Implemented Interfaces:
RcpTaskManager
public class RcpTaskManagerImpl extends Object implements RcpTaskManager
RcpTaskManager...
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRcpTaskManagerImpl.ComponentPropertyType
-
Constructor Summary
Constructors Constructor Description RcpTaskManagerImpl()RcpTaskManagerImpl(org.osgi.framework.BundleContext bundleContext, org.osgi.service.cm.ConfigurationAdmin configurationAdmin, Map<String,Object> newConfigProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RcpTaskaddTask(RepositoryAddress src, ConnectionOptions connectionOptions, Credentials srcCreds, String dst, String id, List<String> excludes, @Nullable Boolean recursive)RcpTaskaddTask(RepositoryAddress src, ConnectionOptions connectionOptions, Credentials srcCreds, String dst, String id, WorkspaceFilter srcFilter, @Nullable Boolean recursive)RcpTaskeditTask(@NotNull String taskId, @Nullable RepositoryAddress src, @Nullable ConnectionOptions connectionOptions, @Nullable Credentials srcCreds, @Nullable String dst, @Nullable List<String> excludes, @Nullable WorkspaceFilter srcFilter, @Nullable Boolean recursive)protected ClassLoadergetClassLoaderForRepositoryFactory()RcpTaskgetTask(String taskId)Map<String,RcpTask>getTasks()booleanremoveTask(String taskId)voidsetSourceCredentials(String taskId, Credentials srcCreds)
-
-
-
Constructor Detail
-
RcpTaskManagerImpl
public RcpTaskManagerImpl()
-
RcpTaskManagerImpl
public RcpTaskManagerImpl(org.osgi.framework.BundleContext bundleContext, org.osgi.service.cm.ConfigurationAdmin configurationAdmin, Map<String,Object> newConfigProperties) throws IOException- Throws:
IOException
-
-
Method Detail
-
getTask
public RcpTask getTask(String taskId)
- Specified by:
getTaskin interfaceRcpTaskManager
-
getTasks
public Map<String,RcpTask> getTasks()
- Specified by:
getTasksin interfaceRcpTaskManager
-
addTask
public RcpTask addTask(RepositoryAddress src, ConnectionOptions connectionOptions, Credentials srcCreds, String dst, String id, List<String> excludes, @Nullable @Nullable Boolean recursive) throws ConfigurationException
- Specified by:
addTaskin interfaceRcpTaskManager- Throws:
ConfigurationException
-
addTask
public RcpTask addTask(RepositoryAddress src, ConnectionOptions connectionOptions, Credentials srcCreds, String dst, String id, WorkspaceFilter srcFilter, @Nullable @Nullable Boolean recursive)
- Specified by:
addTaskin interfaceRcpTaskManager
-
editTask
public RcpTask editTask(@NotNull @NotNull String taskId, @Nullable @Nullable RepositoryAddress src, @Nullable @Nullable ConnectionOptions connectionOptions, @Nullable @Nullable Credentials srcCreds, @Nullable @Nullable String dst, @Nullable @Nullable List<String> excludes, @Nullable @Nullable WorkspaceFilter srcFilter, @Nullable @Nullable Boolean recursive) throws ConfigurationException
- Specified by:
editTaskin interfaceRcpTaskManager- Throws:
ConfigurationException
-
removeTask
public boolean removeTask(String taskId)
- Specified by:
removeTaskin interfaceRcpTaskManager
-
setSourceCredentials
public void setSourceCredentials(String taskId, Credentials srcCreds)
- Specified by:
setSourceCredentialsin interfaceRcpTaskManager
-
getClassLoaderForRepositoryFactory
protected ClassLoader getClassLoaderForRepositoryFactory()
-
-