Module org.mule.sdk.api
Annotation Interface RequiredForMetadata
@Target(FIELD)
@Retention(RUNTIME)
@Documented
@MinMuleVersion("4.5.0")
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
org.mule.runtime.extension.api.values.ValueProvider. Any config or connection parameter that affects the resolution of
a org.mule.runtime.extension.api.values.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.0