@Beta public enum FabricInvocationType extends Enum<FabricInvocationType>
Enum Constant and Description |
---|
INVOKE
Invoke ensures that a Fabric transaction is set up around a call, permitting modifications during the execution.
|
QUERY
Query doesn't permit modifications but is very lightweight, executing much faster and without involving other
nodes.
|
Modifier and Type | Method and Description |
---|---|
String |
getPathParamValue()
Gets the string value to put into a request URL.
|
static FabricInvocationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FabricInvocationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FabricInvocationType INVOKE
public static final FabricInvocationType QUERY
public static FabricInvocationType[] values()
for (FabricInvocationType c : FabricInvocationType.values()) System.out.println(c);
public static FabricInvocationType 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 getPathParamValue()
Copyright © 2019 SAP SE. All rights reserved.