org.mule.devkit.generation.studio
Class MuleStudioPluginXmlGenerator

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

public class MuleStudioPluginXmlGenerator
extends AbstractMuleStudioNamespaceGenerator


Constructor Summary
MuleStudioPluginXmlGenerator()
           
 
Method Summary
 List<Product> consumes()
           
 void generate(org.mule.devkit.model.module.Module module)
          When generating the packaging for Studio, when using multi-module projects (connection management + oauth so far) are implemented by inheritance.
 List<Product> produces()
           
 
Methods inherited from class org.mule.devkit.generation.studio.AbstractMuleStudioNamespaceGenerator
generate, processableModules, shouldGenerate
 
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
 

Constructor Detail

MuleStudioPluginXmlGenerator

public MuleStudioPluginXmlGenerator()
Method Detail

produces

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

consumes

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

generate

public void generate(org.mule.devkit.model.module.Module module)
              throws GenerationException
Description copied from class: AbstractMuleStudioNamespaceGenerator
When generating the packaging for Studio, when using multi-module projects (connection management + oauth so far) are implemented by inheritance. This forces devkit to sort the modules to take always the first module as connection management, while the others will be "discarded". More information in DEVKIT-548. Once devkit supports connection strategies, this complete artifact (mule-devkit-plugin-studio) must be refactored.

Specified by:
generate in class AbstractMuleStudioNamespaceGenerator
Throws:
GenerationException


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