public interface DeploymentService
| Modifier and Type | Method and Description |
|---|---|
void |
deployDifference(int version,
String srcPath,
String hostName,
int port,
String userName,
String password,
String dstPath,
org.alfresco.util.NameMatcher matcher,
boolean createDst,
boolean dontDelete,
boolean dontDo,
List<DeploymentCallback> callback)
Deploys the differences between what is is the local source path
and a destination machine's path.
|
void |
deployDifferenceFS(int version,
String srcPath,
String adapterName,
String hostName,
int port,
String userName,
String password,
String dstTarget,
org.alfresco.util.NameMatcher matcher,
boolean createDst,
boolean dontDelete,
boolean dontDo,
List<DeploymentCallback> callback)
Deploy to a filesystem on another machine.
|
List<org.alfresco.service.cmr.repository.NodeRef> |
findLiveDeploymentServers(org.alfresco.service.cmr.repository.NodeRef webProjectRef) |
List<org.alfresco.service.cmr.repository.NodeRef> |
findTestDeploymentServers(org.alfresco.service.cmr.repository.NodeRef webProjectRef,
boolean availableOnly) |
Set<String> |
getAdapterNames()
Get the names of the transport adapters.
|
ActionService |
getRemoteActionService(String hostName,
int port,
String userName,
String password)
Get A reference to an ActionService instance on a remote Alfresco Server.
|
@Auditable
void deployDifference(int version,
String srcPath,
String hostName,
int port,
String userName,
String password,
String dstPath,
org.alfresco.util.NameMatcher matcher,
boolean createDst,
boolean dontDelete,
boolean dontDo,
List<DeploymentCallback> callback)
version - The local version.srcPath - The local path.hostName - The remote hostname.port - The remote rmi registry port.userName - The username for authentication.password - The password for authentication.dstPath - The destination path corresponding to source path.createDst - Flag for whether a missing destination should be created.dontDelete - Don't delete assets at the destination.dontDo - If this is set then this is a dry run.callback - A possibly null callback.@NotAuditable ActionService getRemoteActionService(String hostName, int port, String userName, String password)
hostName - port - userName - password - @Auditable
void deployDifferenceFS(int version,
String srcPath,
String adapterName,
String hostName,
int port,
String userName,
String password,
String dstTarget,
org.alfresco.util.NameMatcher matcher,
boolean createDst,
boolean dontDelete,
boolean dontDo,
List<DeploymentCallback> callback)
version - The version to deploy from.srcPath - The path to deploy from.adapterName - The name of the transport adapter to connect to the remote system.
The value "default" means use the traditional RMI used for versions of Alfresco prior to 3.0hostName - The hostname of the filesystem receiver.port - The port to connect to.userName - The username for authentication of the targetpassword - The password for authentication of the targetdstTarget - The target on the deployment receiver.createDst - Flag for whether a missing destination should be created.dontDelete - Don't delete deleted nodes from destination.dontDo - If this is set, this is a dry run.callback - A possibly null callback.@NotAuditable Set<String> getAdapterNames()
@NotAuditable List<org.alfresco.service.cmr.repository.NodeRef> findLiveDeploymentServers(org.alfresco.service.cmr.repository.NodeRef webProjectRef)
@NotAuditable List<org.alfresco.service.cmr.repository.NodeRef> findTestDeploymentServers(org.alfresco.service.cmr.repository.NodeRef webProjectRef, boolean availableOnly)
Copyright © 2005–2014 Alfresco Software. All rights reserved.