A DeploymentData object is passed into the DeploymentManagerdeploy() call and defines the source and destination for a single set of data as well as identifying the actual data to be deployed. atg.deployment.DeploymentData is a marker interface that has two subclasses, RepositoryDeploymentData and FileDeploymentData, that provide the API for their respective types of deployment data object. Whenever any of the add methods in either subclass is called, the DeploymentData object creates a Marker object, which is internal to the deployment system and should not be used by the caller. Each Marker object represents a single item to be deployed.

For both subclasses, use the constructor to create a DeploymentData object, and use the addNew… methods to deploy a new item or file to the target. Use the add…ForUpdate methods to deploy a changed item or file (one that exists already on the target). Use the add…ForDelete methods to delete an item from the target.

Important: These classes are not thread-safe and should be used only by a single thread.

The atg.deployment.repository.RepositoryDeploymentData subclass generates a list of repository items for deployment. It has the following API:

The atg.deployment.file.FileDeploymentData subclass generates a list of files for deployment, and it has the following API:

 
loading table of contents...