Package com.xebialabs.deployit.plugin.api.deployment.specification

# Interface Delta

All Superinterfaces:
  `Serializable`

public interface Delta extends Serializable
The Delta specifies what will happen to a Deployed in a Deployment. if the operation == CREATE -> previous == null && deployed is set if the operation == UPDATE -> previous is set && deployed is set if the operation == DELETE -> previous is set && deployed == null if the operation == NOOP -> previous and deployed are set to the same value.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Deployed<? extends Deployable,? extends Container>`
  `getDeployed()`
  `List<String>`
  `getIntermediateCheckpoints()`
  When this Delta is generated as part of a rollback, this can be inspected to see which (intermediate) checkpoints were hit during the deployment.
  `Operation`
  `getOperation()`
  `Deployed<? extends Deployable,? extends Container>`
  `getPrevious()`

- ## Method Details

  - ### getOperation

    Operation getOperation()

  - ### getPrevious

    Deployed<? extends Deployable,? extends Container> getPrevious()

  - ### getDeployed

    Deployed<? extends Deployable,? extends Container> getDeployed()

  - ### getIntermediateCheckpoints

    List<String> getIntermediateCheckpoints()
    When this Delta is generated as part of a rollback, this can be inspected to see which (intermediate) checkpoints were hit during the deployment. If this is not a rollback, this list will be empty.
    Returns:
      The list of (intermediate) checkpoints hit during a deployment.