public abstract class PagingMetadataResolver
extends org.mule.runtime.api.metadata.resolving.OutputStaticTypeResolver
OutputStaticTypeResolver to use in paging operations. This resolver takes the path to a schema shipped with the
connector and generates an ArrayType which target type is generated by parsing that schema.| Constructor and Description |
|---|
PagingMetadataResolver() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
getSchemaPath()
Absolute path to the schema between the context of the owning connector.
|
org.mule.metadata.api.model.MetadataType |
getStaticMetadata() |
protected abstract org.mule.metadata.api.model.MetadataType |
loadSchema(String schema)
Parses the given
schema and transforms it to a MetadataType |
getCategoryName, getOutputTypeprotected abstract String getSchemaPath()
Class.getResourceAsStream(String) methodprotected abstract org.mule.metadata.api.model.MetadataType loadSchema(String schema)
schema and transforms it to a MetadataTypeschema - the schema to parseMetadataTypepublic org.mule.metadata.api.model.MetadataType getStaticMetadata()
Copyright © 2021. All rights reserved.