Package org.mockserver.model
Enum CrudExpectationsDefinition.IdStrategy
- java.lang.Object
-
- java.lang.Enum<CrudExpectationsDefinition.IdStrategy>
-
- org.mockserver.model.CrudExpectationsDefinition.IdStrategy
-
- All Implemented Interfaces:
Serializable,Comparable<CrudExpectationsDefinition.IdStrategy>
- Enclosing class:
- CrudExpectationsDefinition
public static enum CrudExpectationsDefinition.IdStrategy extends Enum<CrudExpectationsDefinition.IdStrategy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_INCREMENTUUID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CrudExpectationsDefinition.IdStrategyvalueOf(String name)Returns the enum constant of this type with the specified name.static CrudExpectationsDefinition.IdStrategy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO_INCREMENT
public static final CrudExpectationsDefinition.IdStrategy AUTO_INCREMENT
-
UUID
public static final CrudExpectationsDefinition.IdStrategy UUID
-
-
Method Detail
-
values
public static CrudExpectationsDefinition.IdStrategy[] 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 (CrudExpectationsDefinition.IdStrategy c : CrudExpectationsDefinition.IdStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CrudExpectationsDefinition.IdStrategy 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
-
-