Class ContentParameterModelValidator

java.lang.Object
org.mule.runtime.extension.internal.loader.validator.ContentParameterModelValidator
All Implemented Interfaces:
ExtensionModelValidator

public class ContentParameterModelValidator extends Object implements ExtensionModelValidator
Validates that all content parameters are property configured.

For configs and connection providers, tt validates that they do not have content parameters. For Operations and sources, it validates that content parameters meet the following:

  • Support or require expressions
  • They don't allow DSL references
  • There's no more than one ParameterRole.PRIMARY_CONTENT
  • ParameterRole.PRIMARY_CONTENT parameter is optional and defaults to Optional.PAYLOAD
Since:
1.0
  • Constructor Details

    • ContentParameterModelValidator

      public ContentParameterModelValidator()
  • Method Details