org.exoplatform.services.deployment
Class DeploymentDescriptor

java.lang.Object
  extended by 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


Nested Class Summary
static class DeploymentDescriptor.Target
           
 
Constructor Summary
DeploymentDescriptor()
           
 
Method Summary
 Boolean getCleanupPublication()
           
 String getSourcePath()
           
 DeploymentDescriptor.Target getTarget()
           
 String getVersionHistoryPath()
          get the path of version history file which we want to import
 void setCleanupPublication(Boolean cleanupPublication)
          This method allows to cleanup the publication lifecycle in the target folder after importing the data.
 void setSourcePath(String sourcePath)
           
 void setTarget(DeploymentDescriptor.Target target)
           
 void setVersionHistoryPath(String versionHistoryPath)
          set the path of version history file which we want to import
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentDescriptor

public DeploymentDescriptor()
Method Detail

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 © 2013 eXo Platform SAS. All Rights Reserved.