Class ImmutableDeprecationModel

java.lang.Object
org.mule.runtime.extension.api.model.deprecated.ImmutableDeprecationModel
All Implemented Interfaces:
org.mule.runtime.api.meta.model.deprecated.DeprecationModel

public class ImmutableDeprecationModel extends Object implements org.mule.runtime.api.meta.model.deprecated.DeprecationModel
Immutable implementation of DeprecationModel
Since:
1.2
  • Constructor Details

    • ImmutableDeprecationModel

      public ImmutableDeprecationModel(String message, String deprecatedSince, String toRemoveIn)
  • Method Details

    • getMessage

      public String getMessage()
      Specified by:
      getMessage in interface org.mule.runtime.api.meta.model.deprecated.DeprecationModel
    • getDeprecatedSince

      public String getDeprecatedSince()
      Specified by:
      getDeprecatedSince in interface org.mule.runtime.api.meta.model.deprecated.DeprecationModel
    • getToRemoveIn

      public Optional<String> getToRemoveIn()
      Specified by:
      getToRemoveIn in interface org.mule.runtime.api.meta.model.deprecated.DeprecationModel