@NoExtend public abstract class AbstractMuleArtifactModel extends Object
ClassLoader
, ExtensionModel
, etc.Modifier and Type | Field and Description |
---|---|
static String |
BUNDLE_DESCRIPTOR_LOADER |
static String |
CLASS_LOADER_MODEL_LOADER_DESCRIPTOR |
static String |
ID |
static String |
MIN_MULE_VERSION |
static String |
NAME |
static String |
REQUIRED_PRODUCT |
Modifier | Constructor and Description |
---|---|
protected |
AbstractMuleArtifactModel(String name,
String minMuleVersion,
Product requiredProduct,
MuleArtifactLoaderDescriptor classLoaderModelLoaderDescriptor,
MuleArtifactLoaderDescriptor bundleDescriptorLoader)
Creates a new model
|
Modifier and Type | Method and Description |
---|---|
MuleArtifactLoaderDescriptor |
getBundleDescriptorLoader() |
MuleArtifactLoaderDescriptor |
getClassLoaderModelLoaderDescriptor() |
String |
getMinMuleVersion() |
String |
getName() |
Product |
getRequiredProduct() |
void |
validateModel(String descriptorName)
Validates that all the required fields for a valid model are set.
|
public static final String NAME
public static final String REQUIRED_PRODUCT
public static final String MIN_MULE_VERSION
public static final String ID
public static final String CLASS_LOADER_MODEL_LOADER_DESCRIPTOR
public static final String BUNDLE_DESCRIPTOR_LOADER
protected AbstractMuleArtifactModel(String name, String minMuleVersion, Product requiredProduct, MuleArtifactLoaderDescriptor classLoaderModelLoaderDescriptor, MuleArtifactLoaderDescriptor bundleDescriptorLoader)
name
- name of the artifactminMuleVersion
- minimum Mule Runtime version that requires to work correctly.requiredProduct
- the target product for the artifactclassLoaderModelLoaderDescriptor
- describes how to create the class loader for the artifact.bundleDescriptorLoader
- indicates how to load the bundle descriptor.public String getName()
public String getMinMuleVersion()
public Product getRequiredProduct()
public MuleArtifactLoaderDescriptor getBundleDescriptorLoader()
public MuleArtifactLoaderDescriptor getClassLoaderModelLoaderDescriptor()
public void validateModel(String descriptorName)
Copyright © 2018. All rights reserved.