Enum WatchCommand.FullDocumentBeforeChangeEnum
- java.lang.Object
-
- java.lang.Enum<WatchCommand.FullDocumentBeforeChangeEnum>
-
- de.caluga.morphium.driver.commands.WatchCommand.FullDocumentBeforeChangeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<WatchCommand.FullDocumentBeforeChangeEnum>
- Enclosing class:
- WatchCommand
public static enum WatchCommand.FullDocumentBeforeChangeEnum extends Enum<WatchCommand.FullDocumentBeforeChangeEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description offrequiredwhenAvailable
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WatchCommand.FullDocumentBeforeChangeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static WatchCommand.FullDocumentBeforeChangeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
whenAvailable
public static final WatchCommand.FullDocumentBeforeChangeEnum whenAvailable
-
required
public static final WatchCommand.FullDocumentBeforeChangeEnum required
-
off
public static final WatchCommand.FullDocumentBeforeChangeEnum off
-
-
Method Detail
-
values
public static WatchCommand.FullDocumentBeforeChangeEnum[] 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 (WatchCommand.FullDocumentBeforeChangeEnum c : WatchCommand.FullDocumentBeforeChangeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WatchCommand.FullDocumentBeforeChangeEnum 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
-
-