org.finra.jtaf.core.model.statement
Class Invocation

java.lang.Object
  extended by org.finra.jtaf.core.model.statement.Invocation

public class Invocation
extends Object

A class representing an invocable test step. Primarily used to validate a Command's registration in the command library


Constructor Summary
Invocation(String targetName)
           
 
Method Summary
 Map<String,Object> getParameters()
           
 String getTargetName()
           
 void setParameters(Map<String,? extends Object> parameters)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Invocation

public Invocation(String targetName)
Method Detail

getTargetName

public final String getTargetName()
Returns:
targetName - name of the target

getParameters

public final Map<String,Object> getParameters()
Returns:
parameters - map of parameter key-values

setParameters

public final void setParameters(Map<String,? extends Object> parameters)
Parameters:
parameters - - map of parameter key-values

toString

public String toString()
Overrides:
toString in class Object
Returns:
a String representation of the Invocation in the following format: Target Name(key1=value1, key2=value2)


Copyright © 2014. All rights reserved.