Enum Class Notifications.IncludeGrades
java.lang.Object
java.lang.Enum<Notifications.IncludeGrades>
page.codeberg.friedolyn.configuration.Notifications.IncludeGrades
- All Implemented Interfaces:
Serializable
,Comparable<Notifications.IncludeGrades>
,Constable
- Enclosing class:
Notifications
The possible values for the
Notifications.includeGrades
field.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAlways reveal the new grades in the notifications, regardless of how bad they might be.Never reveal the new grades in the notifications, even if they're actually quite good.Only reveal the new grades in the notifications if they are at least as good as theNotifications.goodGradesThreshold
. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Notifications.IncludeGrades
Returns the enum constant of this class with the specified name.static Notifications.IncludeGrades[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALWAYS
Always reveal the new grades in the notifications, regardless of how bad they might be. -
ONLY_GOOD_ONES
Only reveal the new grades in the notifications if they are at least as good as theNotifications.goodGradesThreshold
. -
NEVER
Never reveal the new grades in the notifications, even if they're actually quite good.
-
-
Field Details
-
value
-
-
Constructor Details
-
IncludeGrades
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-