public class WebserviceSpecificationPopulator extends java.lang.Object implements Populator<ExposedDestinationModel,ServiceRegistrationData>
ServiceRegistrationData| Constructor and Description |
|---|
WebserviceSpecificationPopulator() |
| Modifier and Type | Method and Description |
|---|---|
protected ApiSpecificationData |
extractApiSpecification(ExposedDestinationModel source) |
protected OAuthData |
extractOAuth(AbstractCredentialModel source) |
protected ObjectMapper |
getJacksonObjectMapper() |
protected java.lang.String |
getSpecFromUrl(java.lang.String specUrl) |
void |
populate(ExposedDestinationModel source,
ServiceRegistrationData target)
Populate the target instance with values from the source instance.
|
void |
setJacksonObjectMapper(ObjectMapper jacksonObjectMapper) |
public void populate(ExposedDestinationModel source, ServiceRegistrationData target)
Populatorpopulate in interface Populator<ExposedDestinationModel,ServiceRegistrationData>source - the source objecttarget - the target to fillprotected ApiSpecificationData extractApiSpecification(ExposedDestinationModel source)
source - ApiConfigurationprotected java.lang.String getSpecFromUrl(java.lang.String specUrl)
protected OAuthData extractOAuth(AbstractCredentialModel source)
source - ApiConfigurationprotected ObjectMapper getJacksonObjectMapper()
public void setJacksonObjectMapper(ObjectMapper jacksonObjectMapper)
Copyright © 2018 SAP SE. All Rights Reserved.