org.finra.jtaf.core.commands.context
Class PutObjectInMapCmd

java.lang.Object
  extended by org.finra.jtaf.core.model.invocationtarget.InvocationTarget
      extended by org.finra.jtaf.core.model.invocationtarget.Command
          extended by org.finra.jtaf.core.commands.context.AbstractContextCmd
              extended by org.finra.jtaf.core.commands.context.PutObjectInMapCmd

public class PutObjectInMapCmd
extends AbstractContextCmd

Gets an object from context and stores that object into a map in context


Field Summary
static String KEY_ATTRIBUTE
           
static String VALUE_IN_ATTRIBUTE
           
static String VALUE_OUT_ATTRIBUTE
           
 
Fields inherited from class org.finra.jtaf.core.commands.context.AbstractContextCmd
ctx, mch
 
Fields inherited from class org.finra.jtaf.core.model.invocationtarget.Command
interpreter, recordResult
 
Fields inherited from class org.finra.jtaf.core.model.invocationtarget.InvocationTarget
globalContext
 
Constructor Summary
PutObjectInMapCmd(String name)
           
 
Method Summary
protected  void execute()
           
 
Methods inherited from class org.finra.jtaf.core.commands.context.AbstractContextCmd
execute
 
Methods inherited from class org.finra.jtaf.core.model.invocationtarget.Command
acceptInvocationTargetVisitor, clearContext, deinitialize, executeInvocation, getBooleanOrDefault, getContext, getFloatOrDefault, getIntegerOrDefault, getOptionalObject, getOptionalString, getRequiredBoolean, getRequiredFloat, getRequiredInteger, getRequiredObject, getRequiredString, getStringOrDefault, initialize, launch, recordResult
 
Methods inherited from class org.finra.jtaf.core.model.invocationtarget.InvocationTarget
addOptionalParameter, addProduction, addRequiredParameter, cleanGlobalContext, getAllParameters, getFromGlobalContext, getGlobalContext, getName, getOptionalParameters, getProductions, getRequiredParameters, getUsage, putToGlobalContext, setGlobalContext, setUsage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALUE_IN_ATTRIBUTE

public static final String VALUE_IN_ATTRIBUTE
See Also:
Constant Field Values

KEY_ATTRIBUTE

public static final String KEY_ATTRIBUTE
See Also:
Constant Field Values

VALUE_OUT_ATTRIBUTE

public static final String VALUE_OUT_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

PutObjectInMapCmd

public PutObjectInMapCmd(String name)
                  throws NameFormatException
Throws:
NameFormatException
Method Detail

execute

protected void execute()
                throws Throwable
Specified by:
execute in class AbstractContextCmd
Throws:
Throwable


Copyright © 2014. All rights reserved.