Enum Class ExtensionDevelopmentFramework
java.lang.Object
java.lang.Enum<ExtensionDevelopmentFramework>
org.mule.runtime.extension.internal.ExtensionDevelopmentFramework
- All Implemented Interfaces:
Serializable,Comparable<ExtensionDevelopmentFramework>,Constable
The main extension development frameworks.
- Since:
- 1.5
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetExtensionDevelopmentFramework(org.mule.runtime.api.meta.model.declaration.fluent.ExtensionDeclaration extensionDeclaration) getExtensionDevelopmentFramework(org.mule.runtime.api.meta.model.ExtensionModel extensionModel) static booleanisExtensionDevelopmentFramework(org.mule.runtime.api.meta.model.declaration.fluent.ExtensionDeclaration extensionDeclaration, ExtensionDevelopmentFramework expected) static booleanisExtensionDevelopmentFramework(org.mule.runtime.api.meta.model.ExtensionModel extensionModel, ExtensionDevelopmentFramework expected) Returns the enum constant of this class with the specified name.static ExtensionDevelopmentFramework[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
JAVA_SDK
-
XML_SDK
-
MULE_SDK
-
MULE_DSL
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getExtensionDevelopmentFramework
public static ExtensionDevelopmentFramework getExtensionDevelopmentFramework(org.mule.runtime.api.meta.model.ExtensionModel extensionModel) - Parameters:
extensionModel- TheExtensionModel.- Returns:
- The
ExtensionDevelopmentFrameworkused to develop the extension represented by givenextensionModel. Defaults toJAVA_SDKif it cannot be determined.
-
getExtensionDevelopmentFramework
public static ExtensionDevelopmentFramework getExtensionDevelopmentFramework(org.mule.runtime.api.meta.model.declaration.fluent.ExtensionDeclaration extensionDeclaration) - Parameters:
extensionDeclaration- TheExtensionDeclaration.- Returns:
- The
ExtensionDevelopmentFrameworkused to develop the extension represented by the givenextensionDeclaration. Defaults toJAVA_SDKif it cannot be determined.
-
isExtensionDevelopmentFramework
public static boolean isExtensionDevelopmentFramework(org.mule.runtime.api.meta.model.ExtensionModel extensionModel, ExtensionDevelopmentFramework expected) - Parameters:
extensionModel- TheExtensionModel.expected- TheExtensionDevelopmentFrameworkwe want to check if the extension was developed with.- Returns:
- Whether the given
extensionModelcorresponds to an extension developed with theexpectedExtensionDevelopmentFramework.
-
isExtensionDevelopmentFramework
public static boolean isExtensionDevelopmentFramework(org.mule.runtime.api.meta.model.declaration.fluent.ExtensionDeclaration extensionDeclaration, ExtensionDevelopmentFramework expected) - Parameters:
extensionDeclaration- TheExtensionDeclaration.expected- TheExtensionDevelopmentFrameworkwe want to check if the extension was developed with.- Returns:
- Whether the given
extensionDeclarationcorresponds to an extension developed with theexpectedExtensionDevelopmentFramework.
-