org.finra.jtaf.core.parsing
Class LoopPlugin

java.lang.Object
  extended by org.finra.jtaf.core.parsing.LoopPlugin
All Implemented Interfaces:
IPostParseTestPlugin

public class LoopPlugin
extends Object
implements IPostParseTestPlugin

Parser plugin meant to handle the loop element in the script that determines the number of times a test script needs to be run.


Field Summary
protected  TestDigraph testDigraph
           
 
Constructor Summary
LoopPlugin(AutomationEngine automationEngine)
           
 
Method Summary
 void execute(PostTestParserPluginContext ctx)
          This method executes after each test is parsed which has the tag name returned by getTagName()
 String getTagName()
          This will return the tag name the ScriptParser will be looking for in the test body.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

testDigraph

protected TestDigraph testDigraph
Constructor Detail

LoopPlugin

public LoopPlugin(AutomationEngine automationEngine)
Method Detail

getTagName

public String getTagName()
Description copied from interface: IPostParseTestPlugin
This will return the tag name the ScriptParser will be looking for in the test body. If not found, the execute method will not be run.

Specified by:
getTagName in interface IPostParseTestPlugin

execute

public void execute(PostTestParserPluginContext ctx)
             throws ParserPluginException
Description copied from interface: IPostParseTestPlugin
This method executes after each test is parsed which has the tag name returned by getTagName()

Specified by:
execute in interface IPostParseTestPlugin
Throws:
ParserPluginException


Copyright © 2014. All rights reserved.