org.exoplatform.services.deployment
Class DeploymentDescriptor
java.lang.Object
org.exoplatform.services.deployment.DeploymentDescriptor
public class DeploymentDescriptor
- extends Object
Created by The eXo Platform SAS
Author : Hoa Pham
hoa.pham@exoplatform.com
Sep 6, 2008
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeploymentDescriptor
public DeploymentDescriptor()
getTarget
public DeploymentDescriptor.Target getTarget()
- Returns:
- the target where data will be stored
setTarget
public void setTarget(DeploymentDescriptor.Target target)
- Parameters:
target - the target to set
getSourcePath
public String getSourcePath()
- Returns:
- the sourcePath of data the will be stored
sourcePath should point out where resource is located example: war:/,jar:/,file:/, http://...
the deployment plugin will base of the scheme to load resource
setSourcePath
public void setSourcePath(String sourcePath)
- Parameters:
sourcePath - the sourcePath to set
getCleanupPublication
public Boolean getCleanupPublication()
- Returns:
- true if cleanup is enabled
setCleanupPublication
public void setCleanupPublication(Boolean cleanupPublication)
- This method allows to cleanup the publication lifecycle in the target
folder after importing the data. By using this, the publication live
revision property will be re-initialized and the content will be set as
published directly. Thus, the content will be visible in front side.
- Parameters:
cleanupPublication -
getVersionHistoryPath
public String getVersionHistoryPath()
- get the path of version history file which we want to import
- Returns:
- the path of version history file which we want to import
setVersionHistoryPath
public void setVersionHistoryPath(String versionHistoryPath)
- set the path of version history file which we want to import
- Parameters:
versionhistoryPath - the path of version history file which we want to import
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.