public class MuleDeployableProjectModelBuilder extends Object implements org.mule.runtime.module.artifact.activation.api.deployable.DeployableProjectModelBuilder
DeployableProjectModelBuilder that builds a model based on the files provided within a packaged Mule
deployable artifact project.| Modifier and Type | Field and Description |
|---|---|
static String |
CLASS_LOADER_MODEL_VERSION_110 |
static String |
CLASS_LOADER_MODEL_VERSION_120 |
static String |
CLASSLOADER_MODEL_JSON_DESCRIPTOR |
static String |
CLASSLOADER_MODEL_JSON_DESCRIPTOR_LOCATION |
static String |
CLASSLOADER_MODEL_JSON_PATCH_DESCRIPTOR |
static String |
CLASSLOADER_MODEL_JSON_PATCH_DESCRIPTOR_LOCATION |
| Constructor and Description |
|---|
MuleDeployableProjectModelBuilder(File projectFolder) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.module.artifact.activation.api.deployable.DeployableProjectModel |
build() |
protected Optional<org.apache.maven.model.Plugin> |
findArtifactPackagerPlugin(org.apache.maven.model.Model model) |
protected List<String> |
getActiveProfiles() |
protected String |
getAttribute(org.codehaus.plexus.util.xml.Xpp3Dom tag,
String attributeName) |
static boolean |
isHeavyPackage(File projectFolder)
Determines if the given project corresponds to a heavyweight package or a lightweight one.
|
protected boolean |
validateMuleRuntimeSharedLibrary(String groupId,
String artifactId) |
public static final String CLASSLOADER_MODEL_JSON_DESCRIPTOR
public static final String CLASSLOADER_MODEL_JSON_PATCH_DESCRIPTOR
public static final String CLASSLOADER_MODEL_JSON_DESCRIPTOR_LOCATION
public static final String CLASSLOADER_MODEL_JSON_PATCH_DESCRIPTOR_LOCATION
public static final String CLASS_LOADER_MODEL_VERSION_120
public static final String CLASS_LOADER_MODEL_VERSION_110
public MuleDeployableProjectModelBuilder(File projectFolder)
public org.mule.runtime.module.artifact.activation.api.deployable.DeployableProjectModel build()
build in interface org.mule.runtime.module.artifact.activation.api.deployable.DeployableProjectModelBuilderprotected final boolean validateMuleRuntimeSharedLibrary(String groupId, String artifactId)
protected String getAttribute(org.codehaus.plexus.util.xml.Xpp3Dom tag, String attributeName)
protected Optional<org.apache.maven.model.Plugin> findArtifactPackagerPlugin(org.apache.maven.model.Model model)
public static boolean isHeavyPackage(File projectFolder)
projectFolder - the project package location.true if the given project corresponds to a heavyweight package, false otherwise.Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.