Package ai.vay.client.model.motion
Enum FeedbackImportance
- java.lang.Object
-
- java.lang.Enum<FeedbackImportance>
-
- ai.vay.client.model.motion.FeedbackImportance
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FeedbackImportance>
public enum FeedbackImportance extends java.lang.Enum<FeedbackImportance>
The possible importance categories.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HIGH
Mainly feedback regarding injury prevention and primary movement mechanics.LOW
Mainly feedback regarding general performance improvements which are not related to the upper categories.MEDIUM
Mainly feedback regarding range of motion.MEDIUM_HIGH
Mainly feedback regarding secondary movement mechanics.UNDEFINED
No importance is yet defined for this feedback.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isMoreImportantThan(FeedbackImportance other)
Checks whether this enum value is more important than another.static FeedbackImportance
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FeedbackImportance[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HIGH
public static final FeedbackImportance HIGH
Mainly feedback regarding injury prevention and primary movement mechanics.
-
MEDIUM_HIGH
public static final FeedbackImportance MEDIUM_HIGH
Mainly feedback regarding secondary movement mechanics.
-
MEDIUM
public static final FeedbackImportance MEDIUM
Mainly feedback regarding range of motion.
-
LOW
public static final FeedbackImportance LOW
Mainly feedback regarding general performance improvements which are not related to the upper categories.
-
UNDEFINED
public static final FeedbackImportance UNDEFINED
No importance is yet defined for this feedback.
-
-
Method Detail
-
values
public static FeedbackImportance[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FeedbackImportance c : FeedbackImportance.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FeedbackImportance valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isMoreImportantThan
public boolean isMoreImportantThan(FeedbackImportance other)
Checks whether this enum value is more important than another. Else it is equal or less important.- Parameters:
other
-- Returns:
-
-