Class TransitionPackage<D extends Trackable>


  • public class TransitionPackage<D extends Trackable>
    extends Object
    Represents an item to advance or reverse in the sandbox approval flow.
    Author:
    Jeff Fischer
    • Constructor Detail

      • TransitionPackage

        public TransitionPackage​(D original,
                                 D target)
    • Method Detail

      • getOriginal

        public D getOriginal()
        The starting sandbox state for the candidate entity to promote
        Returns:
        The starting sandbox state for the candidate entity to promote
      • getTarget

        public D getTarget()
        The pre-existing sandbox state at the target level matching the contextId of of the original. In cases where a target already existings during a promotion, the changes from the original are merged into the state of the target.
        Returns:
        The pre-existing sandbox state at the target level
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object