Class RcpTaskImpl
- java.lang.Object
-
- org.apache.jackrabbit.vault.rcp.impl.RcpTaskImpl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.jackrabbit.vault.rcp.RcpTask
RcpTask.Result
-
-
Constructor Summary
Constructors Constructor Description RcpTaskImpl(@NotNull RcpTaskImpl oldTask, @Nullable RepositoryAddress src, @Nullable ConnectionOptions connectionOptions, @Nullable Credentials srcCreds, @Nullable String dst, @Nullable List<String> excludes, @Nullable WorkspaceFilter srcFilter, @Nullable Boolean recursive)RcpTaskImpl(ClassLoader classLoader, RepositoryAddress src, ConnectionOptions connectionOptions, Credentials srcCreds, String dst, String id, List<String> excludes, @Nullable Boolean recursive)RcpTaskImpl(ClassLoader dynLoader, RepositoryAddress src, ConnectionOptions connectionOptions, Credentials srcCreds, String dst, String id, WorkspaceFilter srcFilter, @Nullable Boolean recursive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ConnectionOptionsgetConnectionOptions()StringgetDestination()List<String>getExcludes()WorkspaceFiltergetFilter()StringgetId()RepositoryCopiergetRcp()RcpTask.ResultgetResult()RepositoryAddressgetSource()inthashCode()booleanisRecursive()voidrun()voidsetClassLoader(ClassLoader classLoader)voidsetSourceCredentials(Credentials srcCreds)booleanstart(Session session)booleanstop()StringtoString()
-
-
-
Constructor Detail
-
RcpTaskImpl
public RcpTaskImpl(ClassLoader classLoader, RepositoryAddress src, ConnectionOptions connectionOptions, Credentials srcCreds, String dst, String id, List<String> excludes, @Nullable @Nullable Boolean recursive) throws ConfigurationException
- Throws:
ConfigurationException
-
RcpTaskImpl
public RcpTaskImpl(ClassLoader dynLoader, RepositoryAddress src, ConnectionOptions connectionOptions, Credentials srcCreds, String dst, String id, WorkspaceFilter srcFilter, @Nullable @Nullable Boolean recursive)
-
RcpTaskImpl
public RcpTaskImpl(@NotNull @NotNull RcpTaskImpl oldTask, @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)
-
-
Method Detail
-
setClassLoader
public void setClassLoader(ClassLoader classLoader)
-
getRcp
public RepositoryCopier getRcp()
-
start
public boolean start(Session session) throws RepositoryException
- Specified by:
startin interfaceRcpTask- Throws:
RepositoryException
-
getResult
public RcpTask.Result getResult()
-
getSource
public RepositoryAddress getSource()
-
getConnectionOptions
public ConnectionOptions getConnectionOptions()
- Specified by:
getConnectionOptionsin interfaceRcpTask
-
setSourceCredentials
public void setSourceCredentials(Credentials srcCreds)
-
getDestination
public String getDestination()
- Specified by:
getDestinationin interfaceRcpTask
-
isRecursive
public boolean isRecursive()
- Specified by:
isRecursivein interfaceRcpTask
-
getExcludes
public List<String> getExcludes()
- Specified by:
getExcludesin interfaceRcpTask- Returns:
- either
nullin case no excludes are set or a list of excludes (regex patterns)
-
getFilter
public WorkspaceFilter getFilter()
-
-