org.mule.devkit.generation.license
Class LicenseCheckerGenerator

java.lang.Object
  extended by org.mule.devkit.generation.license.LicenseCheckerGenerator

public class LicenseCheckerGenerator
extends Object

Generator of the method that validates the license requirement of a connector/module

It first checks for an enterprise license. If an evaluation license is not accepted then it checks that the

installed license is not an evaluation license. If an entitlement is required then it checks for the entitlement


Constructor Summary
LicenseCheckerGenerator(Context context, org.mule.devkit.model.module.Module element)
           
 
Method Summary
 LicenseCheckerGenerator addTo(org.mule.devkit.model.code.GeneratedClass messageProcessorClass)
           
 void into(org.mule.devkit.model.code.GeneratedMethod method)
           
 org.mule.devkit.model.code.TypeReference ref(Class<?> clazz)
           
static boolean requiresLicense(org.mule.devkit.model.module.Module element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicenseCheckerGenerator

public LicenseCheckerGenerator(Context context,
                               org.mule.devkit.model.module.Module element)
Method Detail

requiresLicense

public static boolean requiresLicense(org.mule.devkit.model.module.Module element)

ref

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

addTo

public LicenseCheckerGenerator addTo(org.mule.devkit.model.code.GeneratedClass messageProcessorClass)

into

public void into(org.mule.devkit.model.code.GeneratedMethod method)


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