Class TransitionPackage<D extends Trackable>
- java.lang.Object
-
- com.broadleafcommerce.data.tracking.core.TransitionPackage<D>
-
-
Constructor Summary
Constructors Constructor Description TransitionPackage(D original, D target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
D
getOriginal()
The starting sandbox state for the candidate entity to promoteD
getTarget()
The pre-existing sandbox state at the target level matching the contextId of of the original.int
hashCode()
String
toString()
-
-
-
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)
-
-