Package | Description |
---|---|
com.sap.cloud.sdk.cloudplatform.connectivity | |
com.sap.cloud.sdk.cloudplatform.connectivity.exception | |
com.sap.cloud.sdk.testutil |
Modifier and Type | Method and Description |
---|---|
DestinationType |
AbstractScpDestination.getType()
Get the type of the destination.
|
static DestinationType |
DestinationType.ofIdentifier(String identifier)
Returns the
DestinationType which equals the given identifier. |
static DestinationType |
DestinationType.ofIdentifierOrDefault(String identifier,
DestinationType defaultDestinationType)
Returns the
DestinationType which equals the given identifier, or the defaultDestinationType in case
there is none. |
static DestinationType |
DestinationType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DestinationType[] |
DestinationType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static ScpCfDestination.Builder |
ScpCfDestination.builder(String name,
DestinationType type)
Starts a builder to be used to create a
ScpCfDestination with mandatory properties. |
static ScpNeoDestination.Builder |
ScpNeoDestination.builder(String name,
DestinationType type)
Starts a builder to be used to create a
ScpNeoDestination with mandatory properties. |
static DestinationType |
DestinationType.ofIdentifierOrDefault(String identifier,
DestinationType defaultDestinationType)
Returns the
DestinationType which equals the given identifier, or the defaultDestinationType in case
there is none. |
Modifier and Type | Method and Description |
---|---|
DestinationType |
DestinationTypeNotSupportedException.getDestinationType() |
Constructor and Description |
---|
DestinationTypeNotSupportedException(String destinationName,
DestinationType destinationType)
Initializes the exception by setting a custom message based on the destination type and setting the name and the
type of the causing destination.
|
DestinationTypeNotSupportedException(String destinationName,
DestinationType destinationType,
String message)
Initializes the exception by delegating the message to the super constructor and setting the name and the type of
the causing destination.
|
DestinationTypeNotSupportedException(String destinationName,
DestinationType destinationType,
String message,
Throwable cause)
Initializes the exception by delegating the message and the causing exception to the super constructor and
setting the name and the type of the causing destination.
|
DestinationTypeNotSupportedException(String destinationName,
DestinationType destinationType,
Throwable cause)
Initializes the exception by delegating the causing exception to the super constructor and setting the name and
type of the causing destination.
|
Modifier and Type | Method and Description |
---|---|
Destination |
MockUtil.mockDestination(DestinationType destinationType,
String destinationName,
Map<String,String> propertiesByName) |
Copyright © 2020 SAP SE. All rights reserved.