Package org.nuxeo.lib.stream.computation
Enum Record.Flag
- java.lang.Object
-
- java.lang.Enum<Record.Flag>
-
- org.nuxeo.lib.stream.computation.Record.Flag
-
- All Implemented Interfaces:
Serializable
,Comparable<Record.Flag>
- Enclosing class:
- Record
public static enum Record.Flag extends Enum<Record.Flag>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMIT
DEFAULT
EXTERNAL_VALUE
INTERNAL1
INTERNAL2
POISON_PILL
USER1
USER2
-
Field Summary
Fields Modifier and Type Field Description static EnumSet<Record.Flag>
ALL_OPTS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Record.Flag
valueOf(String name)
Returns the enum constant of this type with the specified name.static Record.Flag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final Record.Flag DEFAULT
-
COMMIT
public static final Record.Flag COMMIT
-
POISON_PILL
public static final Record.Flag POISON_PILL
-
EXTERNAL_VALUE
public static final Record.Flag EXTERNAL_VALUE
-
INTERNAL1
public static final Record.Flag INTERNAL1
-
INTERNAL2
public static final Record.Flag INTERNAL2
-
USER1
public static final Record.Flag USER1
-
USER2
public static final Record.Flag USER2
-
-
Field Detail
-
ALL_OPTS
public static final EnumSet<Record.Flag> ALL_OPTS
-
-
Method Detail
-
values
public static Record.Flag[] 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 (Record.Flag c : Record.Flag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Record.Flag 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
-
-