[New] Added Action.clearChanges()

This commit is contained in:
Robert von Burg 2023-01-19 13:23:50 +01:00
parent 2e07512d47
commit a54ef16c03
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
1 changed files with 8 additions and 0 deletions

View File

@ -210,6 +210,14 @@ public class Action extends GroupedParameterizedElement implements IActivityElem
return this.changes.add(change);
}
/**
* Clears the current list of {@link IValueChange IValueChanges}
*/
public void clearChanges() {
if (this.changes != null)
this.changes.clear();
}
/**
* @return the list of {@code IValueChange} attached to the {@code Action} start
*/