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

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.RemoveObjectFromContextCmd

public class RemoveObjectFromContextCmd
extends AbstractContextCmd

Removes an object from context by replacing it with null


Field Summary
static String VALUE_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
RemoveObjectFromContextCmd(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_ATTRIBUTE

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

RemoveObjectFromContextCmd

public RemoveObjectFromContextCmd(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.