Interface MutableActivityRepository<A extends Activity>

    • Method Detail

      • addActivity

        void addActivity​(ActivityRef<A> activity)
        Adds the given activity to the repository.
        Parameters:
        activity - the activity
        Since:
        1.0
      • removeActivity

        void removeActivity​(ActivityRef<A> activity)
        Removes the given activity from the repository.
        Parameters:
        activity - the activity
        Since:
        1.0
      • clearActivities

        void clearActivities()
        Removes all activities from all layers from the repository.
        Since:
        1.0
      • clearActivities

        void clearActivities​(Layer layer)
        Removes the activities on the given layer from the repository.
        Parameters:
        layer - the layer to clear
        Since:
        1.0