public interface DestinationConfiguration
DestinationConfiguration
interface provides read only access to destination properties.Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getAllProperties()
Returns all destination properties in read only Map.
|
KeyStore |
getKeyStore()
Returns the keystore configured in the destination.
|
String |
getProperty(String key)
Returns the value of destination property with the specified key.
|
KeyStore |
getTrustStore()
Returns the truststore configured in the destination.
|
String getProperty(String key)
key
- - Key of destination property.null
if the property does not exists.Map<String,String> getAllProperties()
Map
with all destination properties.KeyStore getKeyStore()
KeyStore
or null
if a keystore is not
configured or is missing.IllegalArgumentException
- when properties "KeyStoreLocation" and "KeyStorePassword" are wrong.KeyStore getTrustStore()
KeyStore
or null
if a truststore is
not configured, is missing or if the default JDK truststore is used.IllegalArgumentException
- when properties "TrustStoreLocation" and "TrustStorePassword" are wrong.Copyright © 2016 SAP. All Rights Reserved.