org.mule.tools.automationtestcoverage.inspectors
Class MuleFlowInspector

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

public class MuleFlowInspector
extends Object


Constructor Summary
MuleFlowInspector(Messager messager, RoundEnvironment environment, String projectPath)
           
 
Method Summary
static List<FlowInfo> inspectFileForFlows(File muleFlowFile, String connectorXmlPrefix)
           
 List<FlowInfo> inspectTestResourcesForFlowOperations(TypeElement e, String connectorXmlPrefix)
          Scan test/resources for xmls that has mule flows in them (if only one connector, there should be only one flow) Scan each xml and look up the flows Inspect the flow and check which operation is calling each flow Populate MuleFlowInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MuleFlowInspector

public MuleFlowInspector(Messager messager,
                         RoundEnvironment environment,
                         String projectPath)
Method Detail

inspectTestResourcesForFlowOperations

public List<FlowInfo> inspectTestResourcesForFlowOperations(TypeElement e,
                                                            String connectorXmlPrefix)
Scan test/resources for xmls that has mule flows in them (if only one connector, there should be only one flow) Scan each xml and look up the flows Inspect the flow and check which operation is calling each flow Populate MuleFlowInfo


inspectFileForFlows

public static List<FlowInfo> inspectFileForFlows(File muleFlowFile,
                                                 String connectorXmlPrefix)


Copyright © 2014. All rights reserved.