public static enum ExposeMethodResult.ConflictResolutionStrategy extends Enum<ExposeMethodResult.ConflictResolutionStrategy>
| Enum Constant and Description |
|---|
OVERWRITE
Will overwrite the existing field on the
JsonObject that conflicts with the field
name being written |
SKIP
Will skip writing to the
JsonObject if it contains a field with the name being used
by this method result |
| Modifier and Type | Method and Description |
|---|---|
static ExposeMethodResult.ConflictResolutionStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExposeMethodResult.ConflictResolutionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExposeMethodResult.ConflictResolutionStrategy OVERWRITE
JsonObject that conflicts with the field
name being writtenpublic static final ExposeMethodResult.ConflictResolutionStrategy SKIP
JsonObject if it contains a field with the name being used
by this method resultpublic static ExposeMethodResult.ConflictResolutionStrategy[] values()
for (ExposeMethodResult.ConflictResolutionStrategy c : ExposeMethodResult.ConflictResolutionStrategy.values()) System.out.println(c);
public static ExposeMethodResult.ConflictResolutionStrategy 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 © 2023. All rights reserved.