Class SinceMuleVersionModelProperty

java.lang.Object
org.mule.runtime.extension.api.property.SinceMuleVersionModelProperty
All Implemented Interfaces:
Serializable, org.mule.runtime.api.meta.model.ModelProperty, org.mule.runtime.api.meta.NamedObject

public class SinceMuleVersionModelProperty extends Object implements org.mule.runtime.api.meta.model.ModelProperty
ModelProperty to be used on any EnrichableModel that has been added to an ExtensionModel in a certain MuleVersion and it is not desired to add it to versions of the extension model generated for older runtimes. If this ModelProperty is not present, the model must not be filtered for any runtime version.
Since:
1.2.0
See Also:
  • Field Details

  • Constructor Details

    • SinceMuleVersionModelProperty

      public SinceMuleVersionModelProperty(String version)
  • Method Details

    • getVersion

      public org.mule.runtime.api.meta.MuleVersion getVersion()
      Returns:
      a MuleVersion from which the enriched model should appear in the ExtensionModel
    • getName

      public String getName()
      Specified by:
      getName in interface org.mule.runtime.api.meta.model.ModelProperty
      Specified by:
      getName in interface org.mule.runtime.api.meta.NamedObject
    • isPublic

      public boolean isPublic()
      Specified by:
      isPublic in interface org.mule.runtime.api.meta.model.ModelProperty