org.mule.devkit.generation.oauth
Class NotAuthorizedExceptionGenerator

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

@JustOnce
public class NotAuthorizedExceptionGenerator
extends Object
implements ModuleGenerator


Field Summary
protected  Context context
           
 
Constructor Summary
NotAuthorizedExceptionGenerator()
           
 
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

NotAuthorizedExceptionGenerator

public NotAuthorizedExceptionGenerator()
Method Detail

consumes

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

produces

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

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

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)

ctx

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

setCtx

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


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