A
- the activity typepublic interface MutableActivityRepository<A extends Activity> extends ActivityRepository<A>
Modifier and Type | Method and Description |
---|---|
void |
addActivity(ActivityRef<A> activity)
Adds the given activity to the repository.
|
void |
clearActivities()
Removes all activities from all layers from the repository.
|
void |
clearActivities(Layer layer)
Removes the activities on the given layer from the repository.
|
void |
removeActivity(ActivityRef<A> activity)
Removes the given activity from the repository.
|
addEventHandler, getActivities, getEarliestTimeUsed, getLatestTimeUsed, removeEventHandler
void addActivity(ActivityRef<A> activity)
activity
- the activityvoid removeActivity(ActivityRef<A> activity)
activity
- the activityvoid clearActivities()
void clearActivities(Layer layer)
layer
- the layer to clearCopyright © 2020 Dirk Lemmermann Software & Consulting. All rights reserved.