Package org.icij.datashare
Enum Note.Variant
- java.lang.Object
-
- java.lang.Enum<Note.Variant>
-
- org.icij.datashare.Note.Variant
-
- All Implemented Interfaces:
Serializable,Comparable<Note.Variant>
- Enclosing class:
- Note
public static enum Note.Variant extends Enum<Note.Variant>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Note.VariantvalueOf(String name)Returns the enum constant of this type with the specified name.static Note.Variant[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
dark
public static final Note.Variant dark
-
light
public static final Note.Variant light
-
danger
public static final Note.Variant danger
-
info
public static final Note.Variant info
-
success
public static final Note.Variant success
-
warning
public static final Note.Variant warning
-
primary
public static final Note.Variant primary
-
secondary
public static final Note.Variant secondary
-
-
Method Detail
-
values
public static Note.Variant[] 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 (Note.Variant c : Note.Variant.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Note.Variant valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-