@NoExtend public class ArtifactDescriptor extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
META_INF |
static String |
MULE_ARTIFACT |
static String |
MULE_ARTIFACT_FOLDER |
static String |
MULE_ARTIFACT_JSON_DESCRIPTOR |
static String |
MULE_ARTIFACT_JSON_DESCRIPTOR_LOCATION |
| Constructor and Description |
|---|
ArtifactDescriptor(String name)
Creates a new descriptor for a named artifact
|
ArtifactDescriptor(String name,
Optional<Properties> deploymentProperties)
Creates a new descriptor for a named artifact
|
| Modifier and Type | Method and Description |
|---|---|
BundleDescriptor |
getBundleDescriptor() |
ClassLoaderModel |
getClassLoaderModel() |
Optional<Properties> |
getDeploymentProperties() |
org.mule.runtime.api.meta.MuleVersion |
getMinMuleVersion() |
String |
getName() |
org.mule.runtime.api.deployment.meta.Product |
getRequiredProduct() |
File |
getRootFolder() |
void |
setBundleDescriptor(BundleDescriptor bundleDescriptor) |
void |
setClassLoaderModel(ClassLoaderModel classLoaderModel) |
void |
setMinMuleVersion(org.mule.runtime.api.meta.MuleVersion minMuleVersion) |
void |
setRequiredProduct(org.mule.runtime.api.deployment.meta.Product requiredProduct) |
void |
setRootFolder(File rootFolder) |
String |
toString() |
public static final String MULE_ARTIFACT
public static final String META_INF
public static final String MULE_ARTIFACT_JSON_DESCRIPTOR
public static final String MULE_ARTIFACT_JSON_DESCRIPTOR_LOCATION
public static final String MULE_ARTIFACT_FOLDER
public ArtifactDescriptor(String name)
name - artifact name. Non empty.public ArtifactDescriptor(String name, Optional<Properties> deploymentProperties)
name - artifact name. Non empty.deploymentProperties - properties provided for the deployment process.public String getName()
public File getRootFolder()
public void setRootFolder(File rootFolder)
public org.mule.runtime.api.meta.MuleVersion getMinMuleVersion()
public void setMinMuleVersion(org.mule.runtime.api.meta.MuleVersion minMuleVersion)
minMuleVersion - the minimal mule version required to run this artifactpublic ClassLoaderModel getClassLoaderModel()
public void setClassLoaderModel(ClassLoaderModel classLoaderModel)
public BundleDescriptor getBundleDescriptor()
public org.mule.runtime.api.deployment.meta.Product getRequiredProduct()
public void setRequiredProduct(org.mule.runtime.api.deployment.meta.Product requiredProduct)
requiredProduct - the required product by this artifact.public void setBundleDescriptor(BundleDescriptor bundleDescriptor)
public Optional<Properties> getDeploymentProperties()
Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.