org.mule.tools.automationtestcoverage.inspectors
Class ConnectorInspector

java.lang.Object
  extended by org.mule.tools.automationtestcoverage.inspectors.ConnectorInspector

public class ConnectorInspector
extends Object

This class handles the inspection of the /@Connector class


Constructor Summary
ConnectorInspector(Messager messager, RoundEnvironment environment)
           
 
Method Summary
 List<String> inspectConnectors(TypeElement connectorAnnotationType)
          It will inspect all the classes annotated as /@Connector and will return a List of all the configElementNames.
 List<ConnectorProcessorInfo> inspectProcessors(TypeElement connectorAnnotationType)
          Register all /@Process methods from /@Connector class Get the name of the connector to find it later on the xmls Get all the methods annotated as /@Processor to know all the operations of the connector Populate ConnectorInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectorInspector

public ConnectorInspector(Messager messager,
                          RoundEnvironment environment)
Method Detail

inspectProcessors

public List<ConnectorProcessorInfo> inspectProcessors(TypeElement connectorAnnotationType)
Register all /@Process methods from /@Connector class Get the name of the connector to find it later on the xmls Get all the methods annotated as /@Processor to know all the operations of the connector Populate ConnectorInfo


inspectConnectors

public List<String> inspectConnectors(TypeElement connectorAnnotationType)
It will inspect all the classes annotated as /@Connector and will return a List of all the configElementNames. One element name per connector.

Parameters:
connectorAnnotationType - The element type of the /@Connector annotation
Returns:
List of config element names


Copyright © 2014. All rights reserved.