org.mule.devkit.generation.oauth
Class OAuthInterfacesGenerator

java.lang.Object
  extended by org.mule.devkit.generation.oauth.OAuthInterfacesGenerator
All Implemented Interfaces:
Generator, ModuleGenerator

@JustOnce
public class OAuthInterfacesGenerator
extends Object
implements ModuleGenerator


Field Summary
protected  Context context
           
 
Constructor Summary
OAuthInterfacesGenerator()
           
 
Method Summary
 List<Product> consumes()
           
 Context ctx()
           
 void generate(org.mule.devkit.model.module.Module module)
           
 List<Product> produces()
           
protected  org.mule.devkit.model.code.TypeReference ref(Class<?> clazz)
           
protected  org.mule.devkit.model.code.Type ref(org.mule.devkit.model.module.Module module)
           
protected  org.mule.devkit.model.code.Type ref(TypeMirror typeMirror)
           
 void setCtx(Context generationContext)
           
 boolean shouldGenerate(org.mule.devkit.model.module.Module module)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected Context context
Constructor Detail

OAuthInterfacesGenerator

public OAuthInterfacesGenerator()
Method Detail

shouldGenerate

public boolean shouldGenerate(org.mule.devkit.model.module.Module module)
Specified by:
shouldGenerate in interface ModuleGenerator

generate

public void generate(org.mule.devkit.model.module.Module module)
              throws GenerationException
Specified by:
generate in interface ModuleGenerator
Throws:
GenerationException

consumes

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

produces

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

ctx

public Context ctx()
Specified by:
ctx in interface Generator

setCtx

public void setCtx(Context generationContext)
Specified by:
setCtx in interface Generator

ref

protected org.mule.devkit.model.code.TypeReference ref(Class<?> clazz)

ref

protected org.mule.devkit.model.code.Type ref(TypeMirror typeMirror)

ref

protected org.mule.devkit.model.code.Type ref(org.mule.devkit.model.module.Module module)


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