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 |
AbstractGenericDestination.getDestinationType() |
DestinationType |
GenericDestination.getDestinationType()
The type of a generic destination.
|
DestinationType |
AbstractDestinationFacade.getDestinationType(String destinationName)
Returns the
DestinationType of the destination with the given name. |
static DestinationType |
DestinationAccessor.getDestinationType(String destinationName)
Returns the
DestinationType of the destination with the given name. |
DestinationType |
DestinationFacade.getDestinationType(String destinationName)
Returns the
DestinationType of the destination with the given name. |
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 |
---|---|
protected void |
AbstractDestinationFacade.assertDestinationType(GenericDestination destination,
DestinationType expectedType) |
protected <DestinationT extends GenericDestination> |
AbstractDestinationFacade.getDestinationsForType(DestinationType destinationType) |
static DestinationType |
DestinationType.ofIdentifierOrDefault(String identifier,
DestinationType defaultDestinationType)
Returns the
DestinationType which equals the given identifier, or the defaultDestinationType in case
there is none. |
Constructor and Description |
---|
AbstractGenericDestination(DestinationType destinationType,
String name,
String description,
Map<String,String> propertiesByName) |
ScpCfGenericDestination(DestinationType destinationType,
String name,
String description,
Map<String,String> propertiesByName) |
ScpNeoGenericDestination(DestinationType destinationType,
String name,
String description,
Map<String,String> propertiesByName) |
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 |
---|---|
DestinationType |
MockGenericDestination.getType() |
Modifier and Type | Method and Description |
---|---|
GenericDestination |
MockUtil.mockGenericDestination(DestinationType destinationType,
String destinationName,
Map<String,String> propertiesByName)
Mocks an
GenericDestination for the given parameters. |
MockGenericDestination.MockGenericDestinationBuilder |
MockGenericDestination.MockGenericDestinationBuilder.type(DestinationType type) |
Copyright © 2018 SAP SE. All rights reserved.