Search in sources :

Example 1 with PagedOperationModelProperty

use of org.mule.runtime.extension.internal.property.PagedOperationModelProperty in project mule by mulesoft.

the class OperationModelLoaderDelegate method addPagedOperationModelProperty.

private void addPagedOperationModelProperty(MethodElement operationMethod, OperationDeclarer operation, boolean supportsConfig) {
    checkDefinition(supportsConfig, format("Paged operation '%s' is defined at the extension level but it requires a config, " + "since connections are required for paging", operationMethod.getName()));
    operation.withModelProperty(new PagedOperationModelProperty());
    operation.requiresConnection(true);
}
Also used : PagedOperationModelProperty(org.mule.runtime.extension.internal.property.PagedOperationModelProperty)

Aggregations

PagedOperationModelProperty (org.mule.runtime.extension.internal.property.PagedOperationModelProperty)1