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

## Interface Delta

- All Superinterfaces:
    `java.io.Serializable`

      public interface Delta
      extends java.io.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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Deployed<? extends Deployable,​? extends Container>` | `getDeployed()` |
    `java.util.List<java.lang.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 Detail

    - #### getOperation

          Operation getOperation()

    - #### getPrevious

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

    - #### getDeployed

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

    - #### getIntermediateCheckpoints

          java.util.List<java.lang.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.