org.mule.devkit.generation.studio
Class MuleStudioFeatureGenerator

java.lang.Object
  extended by org.mule.devkit.generation.studio.AbstractMuleStudioGenerator
      extended by org.mule.devkit.generation.studio.MuleStudioFeatureGenerator
All Implemented Interfaces:
Generator, MultiModuleGenerator

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 -feature_.qualifier.jar file in the target/update-site/features


Field Summary
static String FEATURE_XML_FILENAME
           
static String LABEL_VERSION_FORMAT
           
 
Constructor Summary
MuleStudioFeatureGenerator()
           
 
Method Summary
 List<Product> consumes()
           
 void generate(List<org.mule.devkit.model.module.Module> modules)
           
 List<org.mule.devkit.model.module.Module> processableModules(List<org.mule.devkit.model.module.Module> modules)
           
 List<Product> produces()
           
 boolean shouldGenerate(List<org.mule.devkit.model.module.Module> modules)
           
 
Methods inherited from class org.mule.devkit.generation.studio.AbstractMuleStudioGenerator
ctx, getFeatureId, getLabel, getMaxVersion, getPluginId, setCtx
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mule.devkit.generation.api.Generator
ctx, setCtx
 

Field Detail

FEATURE_XML_FILENAME

public static final String FEATURE_XML_FILENAME
See Also:
Constant Field Values

LABEL_VERSION_FORMAT

public static final String LABEL_VERSION_FORMAT
See Also:
Constant Field Values
Constructor Detail

MuleStudioFeatureGenerator

public MuleStudioFeatureGenerator()
Method Detail

consumes

public List<Product> consumes()
Specified by:
consumes in interface Generator
Overrides:
consumes in class AbstractMuleStudioGenerator

produces

public List<Product> produces()
Specified by:
produces in interface Generator
Overrides:
produces in class AbstractMuleStudioGenerator

shouldGenerate

public boolean shouldGenerate(List<org.mule.devkit.model.module.Module> modules)
Specified by:
shouldGenerate in interface MultiModuleGenerator

processableModules

public List<org.mule.devkit.model.module.Module> processableModules(List<org.mule.devkit.model.module.Module> modules)
Specified by:
processableModules in interface MultiModuleGenerator

generate

public void generate(List<org.mule.devkit.model.module.Module> modules)
              throws GenerationException
Specified by:
generate in interface MultiModuleGenerator
Throws:
GenerationException


Copyright © 2010–2014 MuleSoft, Inc.. All rights reserved.