T - type of loaded objectspublic interface DescriptorLoader<T>
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
T |
load(File artifactFolder,
Map<String,Object> attributes)
Loads a described object
|
String getId()
T load(File artifactFolder, Map<String,Object> attributes) throws InvalidDescriptorLoaderException
artifactFolder - File where the current artifact to work with. Non nullattributes - collection of attributes describing the loader. Non null.T loaded with the given attributes from the artifact folder.InvalidDescriptorLoaderException - when is not possible to load the object with the provided configuration.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.