public class DeployableArtifactDescriptor extends ArtifactDescriptor
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_DEPLOY_PROPERTIES_RESOURCE |
static String |
PROPERTY_CONFIG_RESOURCES |
static String |
PROPERTY_REDEPLOYMENT_ENABLED |
META_INF, MULE_ARTIFACT, MULE_ARTIFACT_FOLDER, MULE_ARTIFACT_JSON_DESCRIPTOR, MULE_ARTIFACT_JSON_DESCRIPTOR_LOCATION
Constructor and Description |
---|
DeployableArtifactDescriptor(String name)
Creates a new deployable artifact descriptor
|
DeployableArtifactDescriptor(String name,
Optional<Properties> properties) |
Modifier and Type | Method and Description |
---|---|
File |
getArtifactLocation() |
Set<String> |
getConfigResources() |
String |
getDataFolderName() |
protected Set<String> |
getDefaultConfigResources() |
File |
getDescriptorFile()
Returns a
File representing the descriptor file |
Set<ArtifactPluginDescriptor> |
getPlugins() |
boolean |
isRedeploymentEnabled() |
void |
setArtifactLocation(File location) |
void |
setConfigResources(Set<String> configResources) |
void |
setPlugins(Set<ArtifactPluginDescriptor> plugins) |
void |
setRedeploymentEnabled(boolean redeploymentEnabled) |
getBundleDescriptor, getClassLoaderModel, getDeploymentProperties, getMinMuleVersion, getName, getRequiredProduct, getRootFolder, setBundleDescriptor, setClassLoaderModel, setMinMuleVersion, setRequiredProduct, setRootFolder, toString
public static final String DEFAULT_DEPLOY_PROPERTIES_RESOURCE
public static final String PROPERTY_REDEPLOYMENT_ENABLED
public static final String PROPERTY_CONFIG_RESOURCES
public DeployableArtifactDescriptor(String name)
name
- artifact name. Non empty.public DeployableArtifactDescriptor(String name, Optional<Properties> properties)
public boolean isRedeploymentEnabled()
public void setRedeploymentEnabled(boolean redeploymentEnabled)
public void setArtifactLocation(File location)
location
- the directory where the artifact content is stored.public File getArtifactLocation()
public Set<ArtifactPluginDescriptor> getPlugins()
ApplicationPluginDescriptor
that describe the plugins the application requires.public void setPlugins(Set<ArtifactPluginDescriptor> plugins)
plugins
- a set of ApplicationPluginDescriptor
which are dependencies of the application.public String getDataFolderName()
public File getDescriptorFile()
File
representing the descriptor fileCopyright © 2018. All rights reserved.