public final class ArtifactPluginDescriptor extends DeployableArtifactDescriptor
Modifier and Type | Field and Description |
---|---|
static String |
EXTENSION_BUNDLE_TYPE |
static String |
MULE_ARTIFACT_PATH_INSIDE_JAR
Target path as URL for any files used at deployment time or when generating the
ExtensionModel |
static String |
MULE_AUTO_GENERATED_ARTIFACT_PATH_INSIDE_JAR |
static String |
MULE_PLUGIN_CLASSIFIER |
static String |
MULE_PLUGIN_POM |
DEFAULT_DEPLOY_PROPERTIES_RESOURCE, PROPERTY_CONFIG_RESOURCES, PROPERTY_REDEPLOYMENT_ENABLED
MULE_ARTIFACT_FOLDER, MULE_ARTIFACT_JSON_DESCRIPTOR, MULE_ARTIFACT_JSON_DESCRIPTOR_LOCATION
Constructor and Description |
---|
ArtifactPluginDescriptor(String name)
Creates a new artifact plugin descriptor
|
ArtifactPluginDescriptor(String name,
Optional<Properties> deploymentProperties)
Creates a new artifact plugin descriptor
|
Modifier and Type | Method and Description |
---|---|
Optional<LoaderDescriber> |
getExtensionModelDescriptorProperty() |
Optional<LicenseModel> |
getLicenseModel() |
void |
setExtensionModelDescriptorProperty(LoaderDescriber extensionModelLoaderDescriber)
Takes a
LoaderDescriber that should contain the values used to properly initialize an ExtensionModel |
void |
setLicenseModel(LicenseModel licenseModel) |
getArtifactLocation, getConfigResources, getDataFolderName, getDefaultConfigResources, getDescriptorFile, getPlugins, isRedeploymentEnabled, setArtifactLocation, setConfigResources, setPlugins, setRedeploymentEnabled
getBundleDescriptor, getClassLoaderModel, getDeploymentProperties, getMinMuleVersion, getName, getRequiredProduct, getRootFolder, setBundleDescriptor, setClassLoaderModel, setMinMuleVersion, setRequiredProduct, setRootFolder, toString
public static final String MULE_PLUGIN_CLASSIFIER
public static final String EXTENSION_BUNDLE_TYPE
public static final String MULE_ARTIFACT_PATH_INSIDE_JAR
ExtensionModel
public static final String MULE_AUTO_GENERATED_ARTIFACT_PATH_INSIDE_JAR
public static final String MULE_PLUGIN_POM
public ArtifactPluginDescriptor(String name)
name
- artifact plugin name. Non empty.public ArtifactPluginDescriptor(String name, Optional<Properties> deploymentProperties)
name
- artifact plugin name. Non empty.deploymentProperties
- deployment properties provided for the pluginpublic Optional<LoaderDescriber> getExtensionModelDescriptorProperty()
LoaderDescriber
that will contain all mandatory values to generate an ExtensionModel
from it.public void setExtensionModelDescriptorProperty(LoaderDescriber extensionModelLoaderDescriber)
LoaderDescriber
that should contain the values used to properly initialize an ExtensionModel
extensionModelLoaderDescriber
- the LoaderDescriber
with the valuespublic Optional<LicenseModel> getLicenseModel()
public void setLicenseModel(LicenseModel licenseModel)
licenseModel
- the license requirements for this plugin.Copyright © 2018. All rights reserved.