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 interface
RcpTaskManagerImpl.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 RcpTask
addTask(RepositoryAddress src, ConnectionOptions connectionOptions, Credentials srcCreds, String dst, String id, List<String> excludes, @Nullable Boolean recursive)
RcpTask
addTask(RepositoryAddress src, ConnectionOptions connectionOptions, Credentials srcCreds, String dst, String id, WorkspaceFilter srcFilter, @Nullable Boolean recursive)
RcpTask
editTask(@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 ClassLoader
getClassLoaderForRepositoryFactory()
RcpTask
getTask(String taskId)
Map<String,RcpTask>
getTasks()
boolean
removeTask(String taskId)
void
setSourceCredentials(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:
getTask
in interfaceRcpTaskManager
-
getTasks
public Map<String,RcpTask> getTasks()
- Specified by:
getTasks
in 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:
addTask
in 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:
addTask
in 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:
editTask
in interfaceRcpTaskManager
- Throws:
ConfigurationException
-
removeTask
public boolean removeTask(String taskId)
- Specified by:
removeTask
in interfaceRcpTaskManager
-
setSourceCredentials
public void setSourceCredentials(String taskId, Credentials srcCreds)
- Specified by:
setSourceCredentials
in interfaceRcpTaskManager
-
getClassLoaderForRepositoryFactory
protected ClassLoader getClassLoaderForRepositoryFactory()
-
-