Annotation Interface RequiredForMetadata


@MinMuleVersion("4.2") @Target(FIELD) @Retention(RUNTIME) @Documented public @interface RequiredForMetadata
Marker annotation which indicates that the annotated parameter is required for Metadata, this indicates that any other not annotated parameter won't be considered as part of the metadata resolution, so if the value changes the metadata resolution won't be triggered for those connectors

This parameter has the same effect when getting values from a operation's ValueProvider. Any config or connection parameter that affects the resolution of a ValueProvider that is linked to an operation must be annotated with this parameter in order to trigger resolution if it's value changed.

This annotation can be only used on Configuration and Connection Provider parameters.

Since:
1.2.0