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 TypeMethodDescriptionboolean
Deprecated.static RfcDestination
fromProperties
(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 theObject
return 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 theObject
return type ofDestinationProperties.get(String)
into the expected type.<ValueT> io.vavr.control.Option<ValueT>
Deprecated.Convenience method to convert theObject
return type ofDestinationProperties.get(String)
into any expected type.Deprecated.Retrieves the set of property keys of the destination.int
hashCode()
Deprecated.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods 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:DestinationProperties
Gets the value associated with the given key (if any).- Specified by:
get
in interfaceDestinationProperties
- Parameters:
key
- The key to get the value for.- Returns:
- An
Option
object containing the value, if any.
-
getPropertyNames
Deprecated.Description copied from interface:DestinationProperties
Retrieves the set of property keys of the destination.- Specified by:
getPropertyNames
in interfaceDestinationProperties
- Returns:
- An iterable of type String which is the set of property keys for a destination
-
get
Deprecated.Description copied from interface:DestinationProperties
Convenience method to cast theObject
return type ofDestinationProperties.get(String)
into the expected type.- Specified by:
get
in 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
Option
object containing the converted value, if any.
-
get
Deprecated.Description copied from interface:DestinationProperties
Convenience method to convert theObject
return type ofDestinationProperties.get(String)
into any expected type.- Specified by:
get
in 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
Option
object containing the converted value, if any.
-
get
Deprecated.Description copied from interface:DestinationProperties
Convenience method to convert theObject
return type ofDestinationProperties.get(String)
into any expected type.- Specified by:
get
in interfaceDestinationProperties
- Type Parameters:
ValueT
- The expected type of the value.- Parameters:
propertyKey
- TheDestinationPropertyKey
for the value to retrieve.- Returns:
- An
Option
object containing the converted value, if any.
-
DefaultDestination
instead.