public interface DeploymentData
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clones a deployment data object
|
void |
convertToRollbackData()
Converts a particular DeploymentData from a list of items modified
in a deployment to a rollback for that deployment.
|
int |
getMarkerCount()
Returns the number of markers for deployment
|
java.util.Collection |
getNextSetOfMarkers(int pCurrentIndex,
int pBatchSize)
Returns some set of markers, starting at pCurrentIndex, of a number
up to pBatchsize.
|
RepositoryItem |
getRepositoryItem()
Returns the underlying repository item
|
void |
persist(MutableRepository pRepository,
MutableRepositoryItem pDeploymentItem)
This method is called by the Deployment class in its persist phase.
|
static final java.lang.String CLASS_VERSION
void persist(MutableRepository pRepository, MutableRepositoryItem pDeploymentItem) throws atg.deployment.DistributedDeploymentException
atg.deployment.DistributedDeploymentException
RepositoryItem getRepositoryItem()
java.util.Collection getNextSetOfMarkers(int pCurrentIndex, int pBatchSize)
int getMarkerCount()
java.lang.Object clone()
void convertToRollbackData()
add -> delete
update -> update
delete -> add
Note that this function is reversible - calling it twice is the same as not calling it.
Versions are not handled here - we depend on the snapshot setting to get the appropriate versions for a rollback deployment.