@Beta public enum ETagSubmissionStrategy extends Enum<ETagSubmissionStrategy>
Enum Constant and Description |
---|
SUBMIT_ANY_MATCH_ETAG
Send a wildcard (
* ) in the IF-MATCH header matching all version identifiers. |
SUBMIT_ETAG_FROM_ENTITY
Send an IF-MATCH header, if and only if a version identifier is defined on an
VdmEntity . |
SUBMIT_NO_ETAG
Do not send any IF-MATCH header.
|
Modifier and Type | Method and Description |
---|---|
String |
getHeaderFromVersionIdentifier(io.vavr.control.Option<String> maybeVersionIdentifier) |
static ETagSubmissionStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ETagSubmissionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ETagSubmissionStrategy SUBMIT_ETAG_FROM_ENTITY
VdmEntity
.public static final ETagSubmissionStrategy SUBMIT_NO_ETAG
public static final ETagSubmissionStrategy SUBMIT_ANY_MATCH_ETAG
*
) in the IF-MATCH header matching all version identifiers. This is essentially a force
overwrite.public static ETagSubmissionStrategy[] values()
for (ETagSubmissionStrategy c : ETagSubmissionStrategy.values()) System.out.println(c);
public static ETagSubmissionStrategy 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 © 2021 SAP SE. All rights reserved.