Constructor and Description |
---|
Impacts()
Deprecated.
Empty impacts: empty modifications and empty reverse actions.
|
Impacts(IImpacts[] pImpactsArray)
Deprecated.
Same than
Impacts(List<IImpacts>) with an array of impacts. |
Impacts(java.util.List pImpactsList)
Deprecated.
Build impacts from a list of impacts: adds the modifications and reverse actions of the list of impacts
pImpactsList . |
Impacts(java.util.List pModifications,
java.util.List pReverseActions)
Deprecated.
Creates impacts with these modifications and reverse actions.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getModifications()
Deprecated.
Returns all modifications that were caused by the execution of the action that caused these
impacts.
|
java.util.List |
getReverseActions()
Deprecated.
All reverse actions to undo the actions that caused these impacts.
These action should be in the correct order, starting at 0 till the end of the list. |
public Impacts(java.util.List pModifications, java.util.List pReverseActions)
pModifications
- the modifications for this impactpReverseActions
- the reverse actions to rollback the action that caused these impacts. A null
value means that the action is not reversiblepublic Impacts()
public Impacts(java.util.List pImpactsList)
pImpactsList
.pImpactsList
- the list of impacts represented by this IImpactspublic Impacts(IImpacts[] pImpactsArray)
Impacts(List<IImpacts>)
with an array of impacts.pImpactsArray
- the list of impacts represented by this IImpactspublic java.util.List getModifications()
getModifications
in interface IImpacts
public java.util.List getReverseActions() throws NotReversibleException
getReverseActions
in interface IImpacts
NotReversibleException
- if the action was not reversible