public class DefaultRfcDestination extends Object implements RfcDestination
RfcDestination
interface.Modifier and Type | Class and Description |
---|---|
static class |
DefaultRfcDestination.Builder
Builder class to guide and simplify the construction of a new
RfcDestination . |
Modifier and Type | Method and Description |
---|---|
static DefaultRfcDestination.Builder |
builder(String name)
Starts a builder to be used to create a
DefaultRfcDestination with some properties. |
static boolean |
canDecorate(DestinationProperties destination)
Verifies that the given "generic" destination might be decorated into a
DefaultRfcDestination . |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
io.vavr.control.Option<Object> |
get(String key)
Gets the value associated with the given key (if any).
|
Iterable<String> |
getPropertyNames()
Retrieves the set of property keys of the destination.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
decorate
get, get, get
@Nonnull public io.vavr.control.Option<Object> get(@Nonnull String key)
get
in interface DestinationProperties
key
- The key to get the value for.Option
object containing the value, if any.@Nonnull public Iterable<String> getPropertyNames()
getPropertyNames
in interface DestinationProperties
public static boolean canDecorate(@Nonnull DestinationProperties destination)
DefaultRfcDestination
.destination
- The destination to check.true
, if the given destination is decoratable as a DefaultRfcDestination
; false
otherwise.@Nonnull public static DefaultRfcDestination.Builder builder(@Nonnull String name)
DefaultRfcDestination
with some properties.name
- The JCo destination name of the DefaultRfcDestination
to be created.Builder
instance.protected boolean canEqual(Object other)
Copyright © 2020 SAP SE. All rights reserved.