Class ExerciseImpl

  • All Implemented Interfaces:
    Exercise

    public final class ExerciseImpl
    extends java.lang.Object
    implements Exercise
    • Constructor Summary

      Constructors 
      Constructor Description
      ExerciseImpl​(long key, java.lang.String name, java.util.List<Metric> metrics, java.util.List<BodyPointType> relevantBodyPointTypes)  
    • Constructor Detail

      • ExerciseImpl

        public ExerciseImpl​(long key,
                            java.lang.String name,
                            java.util.List<Metric> metrics,
                            java.util.List<BodyPointType> relevantBodyPointTypes)
    • Method Detail

      • getKey

        public long getKey()
        Description copied from interface: Exercise
        Gets the exercise key.
        Specified by:
        getKey in interface Exercise
        Returns:
        the key.
      • getName

        public java.lang.String getName()
        Description copied from interface: Exercise
        Gets the exercise name.
        Specified by:
        getName in interface Exercise
        Returns:
        the name.
      • getMetrics

        public java.util.List<Metric> getMetrics()
        Description copied from interface: Exercise
        Gets the complete list of Metrics belonging to the exercise.
        Specified by:
        getMetrics in interface Exercise
        Returns:
        the list of metrics.
      • getRelevantBodyPointTypes

        public java.util.List<BodyPointType> getRelevantBodyPointTypes()
        Description copied from interface: Exercise
        Gets the list of BodyPointTypes that must be visible in frame for this exercise. Note that this list can be updated during the exercise for specific exercises.
        Specified by:
        getRelevantBodyPointTypes in interface Exercise
        Returns:
        list of relevant body point types.