org.mule.tools.automationtestcoverage.inspectors
Class MuleFlowInspector
java.lang.Object
org.mule.tools.automationtestcoverage.inspectors.MuleFlowInspector
public class MuleFlowInspector
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MuleFlowInspector
public MuleFlowInspector(Messager messager,
RoundEnvironment environment,
String projectPath)
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.