Enum Class ExtensionDevelopmentFramework

java.lang.Object
java.lang.Enum<ExtensionDevelopmentFramework>
org.mule.runtime.extension.internal.ExtensionDevelopmentFramework
All Implemented Interfaces:
Serializable, Comparable<ExtensionDevelopmentFramework>, Constable

public enum ExtensionDevelopmentFramework extends Enum<ExtensionDevelopmentFramework>
The main extension development frameworks.
Since:
1.5
  • Enum Constant Details

  • Method Details

    • values

      public static ExtensionDevelopmentFramework[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ExtensionDevelopmentFramework valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getExtensionDevelopmentFramework

      public static ExtensionDevelopmentFramework getExtensionDevelopmentFramework(org.mule.runtime.api.meta.model.ExtensionModel extensionModel)
      Parameters:
      extensionModel - The ExtensionModel.
      Returns:
      The ExtensionDevelopmentFramework used to develop the extension represented by given extensionModel. Defaults to JAVA_SDK if it cannot be determined.
    • getExtensionDevelopmentFramework

      public static ExtensionDevelopmentFramework getExtensionDevelopmentFramework(org.mule.runtime.api.meta.model.declaration.fluent.ExtensionDeclaration extensionDeclaration)
      Parameters:
      extensionDeclaration - The ExtensionDeclaration.
      Returns:
      The ExtensionDevelopmentFramework used to develop the extension represented by the given extensionDeclaration. Defaults to JAVA_SDK if it cannot be determined.
    • isExtensionDevelopmentFramework

      public static boolean isExtensionDevelopmentFramework(org.mule.runtime.api.meta.model.ExtensionModel extensionModel, ExtensionDevelopmentFramework expected)
      Parameters:
      extensionModel - The ExtensionModel.
      expected - The ExtensionDevelopmentFramework we want to check if the extension was developed with.
      Returns:
      Whether the given extensionModel corresponds to an extension developed with the expected ExtensionDevelopmentFramework.
    • isExtensionDevelopmentFramework

      public static boolean isExtensionDevelopmentFramework(org.mule.runtime.api.meta.model.declaration.fluent.ExtensionDeclaration extensionDeclaration, ExtensionDevelopmentFramework expected)
      Parameters:
      extensionDeclaration - The ExtensionDeclaration.
      expected - The ExtensionDevelopmentFramework we want to check if the extension was developed with.
      Returns:
      Whether the given extensionDeclaration corresponds to an extension developed with the expected ExtensionDevelopmentFramework.