Class RepetitionImpl
- java.lang.Object
-
- ai.vay.client.impl.common.model.motion.RepetitionImpl
-
- All Implemented Interfaces:
Activity
,Repetition
public final class RepetitionImpl extends java.lang.Object implements Repetition
-
-
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 theDuration
of the completed repetition.java.util.List<Feedback>
getFeedbacks()
Gets a list of allFeedback
s that occurred during the completed activity.
-
-
-
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 theDuration
of the completed repetition.- Specified by:
getDuration
in interfaceRepetition
- Returns:
- the duration.
-
getFeedbacks
public java.util.List<Feedback> getFeedbacks()
Description copied from interface:Activity
Gets a list of allFeedback
s that occurred during the completed activity.- Specified by:
getFeedbacks
in interfaceActivity
- Returns:
- the feedbacks.
-
-