public enum ScpCfDestinationRetrievalStrategy extends Enum<ScpCfDestinationRetrievalStrategy>
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.
|
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 ScpCfDestinationRetrievalStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScpCfDestinationRetrievalStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScpCfDestinationRetrievalStrategy SUBSCRIBER_THEN_PROVIDER
public static final ScpCfDestinationRetrievalStrategy ALWAYS_PROVIDER
public static final ScpCfDestinationRetrievalStrategy ALWAYS_SUBSCRIBER
public static ScpCfDestinationRetrievalStrategy[] values()
for (ScpCfDestinationRetrievalStrategy c : ScpCfDestinationRetrievalStrategy.values()) System.out.println(c);
public static ScpCfDestinationRetrievalStrategy 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<ScpCfDestinationRetrievalStrategy>
Copyright © 2020 SAP SE. All rights reserved.