public interface SilentApiImporter
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsURL(URL url)
Called to check whether the URL indicates that this import method can handle its content.
|
Collection<com.eviware.soapui.model.iface.Interface> |
importApi(URL definitionUrl,
com.eviware.soapui.impl.wsdl.WsdlProject project)
Creates an API (Interface) in the provided project from the definition found at the URL.
|
boolean acceptsURL(URL url)
url
- The URL pointing to an API definitionNullPointerException
- if URL is nullCollection<com.eviware.soapui.model.iface.Interface> importApi(URL definitionUrl, com.eviware.soapui.impl.wsdl.WsdlProject project) throws UnsupportedDefinitionException
definitionUrl
- a URL pointing to an API definition (such as WSDL or Swagger)project
- the project that the API should be added toUnsupportedDefinitionException
- if this import method cannot parse the definitionCopyright © 2019. All rights reserved.