public class PropertiesBundleDescriptorLoader extends Object implements BundleDescriptorLoader
BundleDescriptor using properties defined in the stored descriptor loader.| Modifier and Type | Field and Description |
|---|---|
static String |
ARTIFACT_ID |
static String |
CLASSIFIER |
static String |
GROUP_ID |
static String |
PROPERTIES_BUNDLE_DESCRIPTOR_LOADER_ID |
static String |
TYPE |
static String |
VERSION |
| Constructor and Description |
|---|
PropertiesBundleDescriptorLoader() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
BundleDescriptor |
load(File artifactFolder,
Map<String,Object> attributes,
ArtifactType artifactType)
Loads a bundle descriptor from the provided properties
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportsArtifactTypepublic static final String PROPERTIES_BUNDLE_DESCRIPTOR_LOADER_ID
public static final String VERSION
public static final String GROUP_ID
public static final String ARTIFACT_ID
public static final String CLASSIFIER
public static final String TYPE
public String getId()
getId in interface DescriptorLoader<BundleDescriptor>public BundleDescriptor load(File artifactFolder, Map<String,Object> attributes, ArtifactType artifactType) throws InvalidDescriptorLoaderException
load in interface DescriptorLoader<BundleDescriptor>artifactFolder - File where the current artifact to work with. Non nullattributes - attributes defined in the loader.artifactType - the type of the artifact of the descriptor to be loaded.ArtifactDescriptorCreateException - if any bundle descriptor required property is missing on the given attributes.InvalidDescriptorLoaderExceptionCopyright © 2003–2025 MuleSoft, Inc.. All rights reserved.