public enum IdStrategy extends Enum<IdStrategy>
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static IdStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdStrategy auto
public static final IdStrategy id_worker
public static final IdStrategy uuid
public static final IdStrategy input
public static IdStrategy[] values()
for (IdStrategy c : IdStrategy.values()) System.out.println(c);
public static IdStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
Copyright © 2019. All rights reserved.