public static enum RestServiceBuilder.ModelCreationStrategy extends Enum<RestServiceBuilder.ModelCreationStrategy>
| Enum Constant and Description |
|---|
CREATE_NEW_MODEL |
REUSE_MODEL |
| Modifier and Type | Method and Description |
|---|---|
static RestServiceBuilder.ModelCreationStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestServiceBuilder.ModelCreationStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestServiceBuilder.ModelCreationStrategy CREATE_NEW_MODEL
public static final RestServiceBuilder.ModelCreationStrategy REUSE_MODEL
public static RestServiceBuilder.ModelCreationStrategy[] values()
for (RestServiceBuilder.ModelCreationStrategy c : RestServiceBuilder.ModelCreationStrategy.values()) System.out.println(c);
public static RestServiceBuilder.ModelCreationStrategy 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 nullCopyright © 2019. All Rights Reserved.