org.finra.jtaf.core
Class CommandRegistry

java.lang.Object
  extended by org.finra.jtaf.core.CommandRegistry

public class CommandRegistry
extends Object

This class is for the commands registered in the *.commands.xml files in testlibrary folder. It is a property of the Automation Engine. It saves pair for each command.


Constructor Summary
CommandRegistry()
           
 
Method Summary
 boolean containsInvocationTarget(String name)
          Returns true if the invocation target is present
 InvocationTarget getInvocationTarget(String name)
          Gets the specified invocation target
 void registerInvocationTarget(String name, InvocationTarget invocationTarget)
          Registers the specified command/invocation target.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandRegistry

public CommandRegistry()
Method Detail

registerInvocationTarget

public void registerInvocationTarget(String name,
                                     InvocationTarget invocationTarget)
Registers the specified command/invocation target.

Parameters:
name -
invocationTarget -

containsInvocationTarget

public final boolean containsInvocationTarget(String name)
Returns true if the invocation target is present

Parameters:
name -
Returns:

getInvocationTarget

public final InvocationTarget getInvocationTarget(String name)
Gets the specified invocation target

Parameters:
name -
Returns:


Copyright © 2014. All rights reserved.