public class MuleStudioFeatureGenerator extends AbstractMuleStudioGenerator implements MultiModuleGenerator
Studio Feature builder. This is needed to publish the plugin in an Update Site.
This class will generate a
Modifier and Type | Field and Description |
---|---|
static String |
FEATURE_XML_FILENAME |
static String |
LABEL_VERSION_FORMAT |
Constructor and Description |
---|
MuleStudioFeatureGenerator() |
Modifier and Type | Method and Description |
---|---|
List<Product> |
consumes() |
void |
generate(List<Module> modules) |
List<Module> |
processableModules(List<Module> modules) |
List<Product> |
produces() |
boolean |
shouldGenerate(List<Module> modules) |
ctx, getFeatureId, getLabel, getMaxVersion, getPluginId, setCtx
public static final String FEATURE_XML_FILENAME
public static final String LABEL_VERSION_FORMAT
public List<Product> consumes()
consumes
in interface Generator
consumes
in class AbstractMuleStudioGenerator
public List<Product> produces()
produces
in interface Generator
produces
in class AbstractMuleStudioGenerator
public boolean shouldGenerate(List<Module> modules)
shouldGenerate
in interface MultiModuleGenerator
public List<Module> processableModules(List<Module> modules)
processableModules
in interface MultiModuleGenerator
public void generate(List<Module> modules) throws GenerationException
generate
in interface MultiModuleGenerator
GenerationException
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.