public class PaginationVendorExtension extends VendorExtension
| Constructor and Description |
|---|
PaginationVendorExtension() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(com.mulesoft.connectivity.rest.sdk.internal.webapi.parser.amf.AMFAPIModel apiModel,
ConnectorDescriptorBuilder connectorDescriptor,
CreateMetaDescriptor cmd)
Applies this extension to the connector descriptor being created.
|
void |
apply(com.mulesoft.connectivity.rest.sdk.internal.webapi.parser.amf.AMFOperationModel apiOperationModel,
com.mulesoft.connectivity.rest.sdk.internal.descriptor.model.OperationAdapterDescriptor operationAdapterDescriptor,
ConnectorDescriptorBuilder connectorDescriptor,
CreateMetaDescriptor cmd)
Applies operation related things specified by this extension to the connector descriptor being created.
|
String |
getDialectUrl()
An AML dialect with the extension.
|
void |
prepare(com.mulesoft.connectivity.rest.sdk.internal.webapi.parser.amf.AMFAPIModel apiModel,
CreateMetaDescriptor cmd)
This gets called before everything else.
|
vetoOperationpublic String getDialectUrl()
VendorExtensiongetDialectUrl in class VendorExtensionpublic void prepare(com.mulesoft.connectivity.rest.sdk.internal.webapi.parser.amf.AMFAPIModel apiModel,
CreateMetaDescriptor cmd)
VendorExtensionExtensions should use this just to get information about newly created operations that are based on real existing ones.
prepare in class VendorExtensionapiModel - the parsed api-spec, including the extension datapublic void apply(com.mulesoft.connectivity.rest.sdk.internal.webapi.parser.amf.AMFAPIModel apiModel,
ConnectorDescriptorBuilder connectorDescriptor,
CreateMetaDescriptor cmd)
throws InvalidVendorExtension
VendorExtensionThis is called once.
apply in class VendorExtensionapiModel - the parsed api-spec, including the extension dataconnectorDescriptor - the descriptor to modifycmd - used to add resourcesInvalidVendorExtensionpublic void apply(com.mulesoft.connectivity.rest.sdk.internal.webapi.parser.amf.AMFOperationModel apiOperationModel,
com.mulesoft.connectivity.rest.sdk.internal.descriptor.model.OperationAdapterDescriptor operationAdapterDescriptor,
ConnectorDescriptorBuilder connectorDescriptor,
CreateMetaDescriptor cmd)
VendorExtensionThis is called once per operation after the operation has been created.
apply in class VendorExtensionapiOperationModel - the parsed operation dataoperationAdapterDescriptor - the new operation descriptor object that has just been created for this operationconnectorDescriptor - the descriptor to modifycmd - used to add resourcesCopyright © 2023 Mulesoft. All rights reserved.