Class ImmutableOutputModel

java.lang.Object
org.mule.runtime.extension.api.model.AbstractImmutableModel
org.mule.runtime.extension.api.model.ImmutableOutputModel
All Implemented Interfaces:
org.mule.runtime.api.meta.DescribedObject, org.mule.runtime.api.meta.model.EnrichableModel, org.mule.runtime.api.meta.model.OutputModel, org.mule.runtime.api.meta.Typed

public class ImmutableOutputModel extends AbstractImmutableModel implements org.mule.runtime.api.meta.model.OutputModel
Immutable implementation of OutputModel
Since:
1.0
  • Constructor Details

    • ImmutableOutputModel

      public ImmutableOutputModel(String description, org.mule.metadata.api.model.MetadataType type, boolean hasDynamicType, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
      Creates a new instance with the given state
      Parameters:
      description - the output's description
      type - the output's MetadataType. Cannot be null
      hasDynamicType - if the given type is of dynamic kind and has to be discovered during design time
      modelProperties - A Set of custom properties which extend this model
  • Method Details

    • getType

      public org.mule.metadata.api.model.MetadataType getType()
      Specified by:
      getType in interface org.mule.runtime.api.meta.Typed
    • hasDynamicType

      public boolean hasDynamicType()
      Specified by:
      hasDynamicType in interface org.mule.runtime.api.meta.Typed
    • toString

      public String toString()
      Overrides:
      toString in class AbstractImmutableModel