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 and Description |
---|
LicenseCheckerGenerator(Context context,
Module element) |
Modifier and Type | Method and Description |
---|---|
LicenseCheckerGenerator |
addTo(GeneratedClass messageProcessorClass) |
void |
into(GeneratedMethod method) |
TypeReference |
ref(Class<?> clazz) |
static boolean |
requiresLicense(Module element) |
public static boolean requiresLicense(Module element)
public TypeReference ref(Class<?> clazz)
public LicenseCheckerGenerator addTo(GeneratedClass messageProcessorClass)
public void into(GeneratedMethod method)
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.