A DeploymentData
object is passed into the DeploymentManager
deploy()
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 that provide the API for their respective types of deployment data object:
RepositoryDeploymentData
generates a list of repository items for deployment.FileDeploymentData
generates a list of files for deployment.
Whenever add
methods of either subclass are 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.
The constructors of both subclasses create a DeploymentData
object. The subclasses also contain these methods:
addNewItem
andaddNewFile
methods deploy a new item and file to the target.addItemForUpdate
andaddFileForUpdate
methods deploy a changed item and file (one that exists already on the target).addItemForDelete
andaddFileForDelete
methods delete an item from the target.
Note: These classes are not thread-safe and should be used only by a single thread.