public class ModuleComponentUtils extends Object
ModuleComponent
Constructor and Description |
---|
ModuleComponentUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
handle(Module module,
Types types,
Identifiable identifiable)
Utility method to check, for a given
ModuleComponent , if it's applicable
to the current connector's strategy following the interface ModuleComponent.handle(org.mule.devkit.model.module.Module) |
public static boolean handle(Module module, Types types, Identifiable identifiable)
ModuleComponent
, if it's applicable
to the current connector's strategy following the interface ModuleComponent.handle(org.mule.devkit.model.module.Module)
module
- connector to check againsttypes
- the ProcessingEnvironment.getTypeUtils()
that will determine the current type of the componentidentifiable
- element that represents the component in the current processing model (it's a reference to the actual class that has been annotated with @Oauth/@ConnectionManagement/etc.)Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.