public class MuleArtifactLoaderDescriptor extends Object
ExtensionModel,
ClassLoader and any other descriptor that may arise in a future of MulePluginModel.
Each MuleArtifactLoaderDescriptor will have an ID that will be used to discover any loader that's responsible of working
with the current set of attributes. It's up to each loader to validate the types, size and all that matters around
the attributes.| Constructor and Description |
|---|
MuleArtifactLoaderDescriptor(String id,
Map<String,Object> attributes)
Creates an immutable implementation of
MuleArtifactLoaderDescriptor |
public MuleArtifactLoaderDescriptor(String id, Map<String,Object> attributes)
MuleArtifactLoaderDescriptorid - ID of the descriptorattributes - collection of attributespublic String getId()
public Map<String,Object> getAttributes()
getId(), where it's up to the loader's
responsibilities to determine if the current structure of the values (Object) does match with the expected
types.
That implies each loader must evaluate on the attributes' values to be 100% sure it were formed correctly.
Copyright © 2017 MuleSoft, Inc.. All rights reserved.