Class RepetitionImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      RepetitionImpl​(java.time.Duration duration, java.util.List<Feedback> feedbacks)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.time.Duration getDuration()
      Gets the Duration of the completed repetition.
      java.util.List<Feedback> getFeedbacks()
      Gets a list of all Feedbacks that occurred during the completed activity.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RepetitionImpl

        public RepetitionImpl​(java.time.Duration duration,
                              java.util.List<Feedback> feedbacks)
    • Method Detail

      • getDuration

        public java.time.Duration getDuration()
        Description copied from interface: Repetition
        Gets the Duration of the completed repetition.
        Specified by:
        getDuration in interface Repetition
        Returns:
        the duration.
      • getFeedbacks

        public java.util.List<Feedback> getFeedbacks()
        Description copied from interface: Activity
        Gets a list of all Feedbacks that occurred during the completed activity.
        Specified by:
        getFeedbacks in interface Activity
        Returns:
        the feedbacks.