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