org.mule.devkit.generation.api
Interface Plugin


public interface Plugin

Plugin that works on the generated source code.

This plugin will be called after the default code generation has finished.


Method Summary
 List<Generator> getGenerators()
          Retrieve a list of generators for the specified object type
 String getOptionName()
          Gets the option name to turn on this plugin-in.
 List<PostProcessor> getPostProcessors()
          Retrieve a list of post processors for the specified object type
 List<? extends Verifier> getVerifiers()
          Retrieve a list of verifiers for the specified object type
 

Method Detail

getOptionName

String getOptionName()
Gets the option name to turn on this plugin-in.

For example, if "abc" is returned, "-abc" will turn on this plugin. If null is returned then the plugin is turn on implicitly.


getVerifiers

List<? extends Verifier> getVerifiers()
Retrieve a list of verifiers for the specified object type

Returns:
A list of verifiers implementing Verifier

getGenerators

List<Generator> getGenerators()
Retrieve a list of generators for the specified object type

Returns:
A list of generators implementing ModuleGenerator

getPostProcessors

List<PostProcessor> getPostProcessors()
Retrieve a list of post processors for the specified object type

Returns:
A list of post processors implementing PostProcessor


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