Enum Class ContentWarning.Kind
java.lang.Object
java.lang.Enum<ContentWarning.Kind>
org.gcube.informationsystem.resourceregistry.http.headers.warning.ContentWarning.Kind
- All Implemented Interfaces:
Serializable,Comparable<ContentWarning.Kind>,Constable
- Enclosing class:
- ContentWarning
Warning flavour.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe field value was altered by business rules before being returned.The field or sub-resource could not be populated. -
Method Summary
Modifier and TypeMethodDescriptionstatic ContentWarning.KindReturns the enum constant of this class with the specified name.static ContentWarning.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNAVAILABLE
The field or sub-resource could not be populated. -
MODIFIED
The field value was altered by business rules before being returned.
-
-
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
-