public interface GenerableResourceContributor
Extensions
declared between a module
Each contributor is responsible for declaring the resources that it wants to generate/contribute to
and add its piece of content.
There might be situations in which a contributor should not generate anything for a given
Extension. For example, a contributor that
writes a XML schema will pass on a extension which doesn't have xml capabilities. It's completely
up to each contributor to decide when and when not contribute to a extension| Modifier and Type | Method and Description |
|---|---|
void |
contribute(Extension extension,
ResourcesGenerator resourcesGenerator)
Contributes if necessary to the generation of the given
extension's resources. |
void contribute(Extension extension, ResourcesGenerator resourcesGenerator)
extension's resources.extension - the Extension that requires the resourceresourcesGenerator - a ResourcesGenerator used to obtain the resourcesCopyright © 2015 MuleSoft, Inc.. All rights reserved.