public enum DestinationRetrievalStrategy extends Enum<DestinationRetrievalStrategy>
Enum Constant and Description |
---|
ALWAYS_PROVIDER
Only load destination from the provider's sub-account, regardless if subscribers have a destination of the same
name.
|
ALWAYS_SUBSCRIBER
Only load destination from the subscriber's sub-account, regardless if the provider has a destination of the same
name.
|
PLATFORM_DEFAULT
Load destinations according to the cloud platform's default behaviour.
|
SUBSCRIBER_THEN_PROVIDER
Try to use the subscriber's destination first, then fall back to the provider's destination.
|
Modifier and Type | Method and Description |
---|---|
String |
getIdentifier() |
String |
toString() |
static DestinationRetrievalStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DestinationRetrievalStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DestinationRetrievalStrategy SUBSCRIBER_THEN_PROVIDER
public static final DestinationRetrievalStrategy ALWAYS_PROVIDER
public static final DestinationRetrievalStrategy ALWAYS_SUBSCRIBER
public static final DestinationRetrievalStrategy PLATFORM_DEFAULT
public static DestinationRetrievalStrategy[] values()
for (DestinationRetrievalStrategy c : DestinationRetrievalStrategy.values()) System.out.println(c);
public static DestinationRetrievalStrategy 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 toString()
toString
in class Enum<DestinationRetrievalStrategy>
Copyright © 2018 SAP SE. All rights reserved.