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 boolean
equals(Object obj)
ConnectionOptions
getConnectionOptions()
String
getDestination()
List<String>
getExcludes()
WorkspaceFilter
getFilter()
String
getId()
RepositoryCopier
getRcp()
RcpTask.Result
getResult()
RepositoryAddress
getSource()
int
hashCode()
boolean
isRecursive()
void
run()
void
setClassLoader(ClassLoader classLoader)
void
setSourceCredentials(Credentials srcCreds)
boolean
start(Session session)
boolean
stop()
String
toString()
-
-
-
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:
start
in interfaceRcpTask
- Throws:
RepositoryException
-
getResult
public RcpTask.Result getResult()
-
getSource
public RepositoryAddress getSource()
-
getConnectionOptions
public ConnectionOptions getConnectionOptions()
- Specified by:
getConnectionOptions
in interfaceRcpTask
-
setSourceCredentials
public void setSourceCredentials(Credentials srcCreds)
-
getDestination
public String getDestination()
- Specified by:
getDestination
in interfaceRcpTask
-
isRecursive
public boolean isRecursive()
- Specified by:
isRecursive
in interfaceRcpTask
-
getExcludes
public List<String> getExcludes()
- Specified by:
getExcludes
in interfaceRcpTask
- Returns:
- either
null
in case no excludes are set or a list of excludes (regex patterns)
-
getFilter
public WorkspaceFilter getFilter()
-
-