Class DefaultRfcDestination
java.lang.Object
com.sap.cloud.sdk.cloudplatform.connectivity.DefaultRfcDestination
- All Implemented Interfaces:
Destination,DestinationProperties,RfcDestination,RfcDestinationProperties
Deprecated.
Immutable default implementation of the
RfcDestination interface.-
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.static RfcDestinationfromProperties(DestinationProperties properties) Deprecated.Creates an immutable destination with the given properties.<ValueT> io.vavr.control.Option<ValueT>get(DestinationPropertyKey<ValueT> propertyKey) Deprecated.Convenience method to convert theObjectreturn type ofDestinationProperties.get(String)into any expected type.io.vavr.control.Option<Object>Deprecated.Gets the value associated with the given key (if any).<ValueT> io.vavr.control.Option<ValueT>Deprecated.Convenience method to cast theObjectreturn type ofDestinationProperties.get(String)into the expected type.<ValueT> io.vavr.control.Option<ValueT>Deprecated.Convenience method to convert theObjectreturn type ofDestinationProperties.get(String)into any expected type.Deprecated.Retrieves the set of property keys of the destination.inthashCode()Deprecated.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.cloudplatform.connectivity.Destination
asHttp, asRfc, isHttp, isRfc
-
Method Details
-
fromProperties
Deprecated.Creates an immutable destination with the given properties.- Parameters:
properties- The properties of this destination.- Returns:
- An immutable destination with the given properties.
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
get
Deprecated.Description copied from interface:DestinationPropertiesGets the value associated with the given key (if any).- Specified by:
getin interfaceDestinationProperties- Parameters:
key- The key to get the value for.- Returns:
- An
Optionobject containing the value, if any.
-
getPropertyNames
Deprecated.Description copied from interface:DestinationPropertiesRetrieves the set of property keys of the destination.- Specified by:
getPropertyNamesin interfaceDestinationProperties- Returns:
- An iterable of type String which is the set of property keys for a destination
-
get
Deprecated.Description copied from interface:DestinationPropertiesConvenience method to cast theObjectreturn type ofDestinationProperties.get(String)into the expected type.- Specified by:
getin interfaceDestinationProperties- Type Parameters:
ValueT- The expected type of the value.- Parameters:
key- The key to get the value for.expectedType- The expected type to cast the value to.- Returns:
- An
Optionobject containing the converted value, if any.
-
get
Deprecated.Description copied from interface:DestinationPropertiesConvenience method to convert theObjectreturn type ofDestinationProperties.get(String)into any expected type.- Specified by:
getin interfaceDestinationProperties- Type Parameters:
ValueT- The expected type of the value.- Parameters:
key- The key to get the value for.conversion- A function converting the object given byDestinationProperties.get(String)into the expected type. Will never be called if no value (ornull) is present for the given key.- Returns:
- An
Optionobject containing the converted value, if any.
-
get
Deprecated.Description copied from interface:DestinationPropertiesConvenience method to convert theObjectreturn type ofDestinationProperties.get(String)into any expected type.- Specified by:
getin interfaceDestinationProperties- Type Parameters:
ValueT- The expected type of the value.- Parameters:
propertyKey- TheDestinationPropertyKeyfor the value to retrieve.- Returns:
- An
Optionobject containing the converted value, if any.
-
DefaultDestinationinstead.