org.finra.jtaf.core.commands.context
Class AbstractContextCmd
java.lang.Object
org.finra.jtaf.core.model.invocationtarget.InvocationTarget
org.finra.jtaf.core.model.invocationtarget.Command
org.finra.jtaf.core.commands.context.AbstractContextCmd
- Direct Known Subclasses:
- AddListToListCmd, AddObjectToListCmd, PutObjectInMapCmd, RemoveObjectFromContextCmd, StoreDefaultObjectCmd, StoreObjectAsStringCmd, StoreObjectFromListCmd, StoreObjectFromMapCmd
public abstract class AbstractContextCmd
- extends Command
Base class for context-manipulating commands
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 |
mch
protected final ManipulateContextHelper mch
ctx
protected IInvocationContext ctx
AbstractContextCmd
public AbstractContextCmd(String name)
throws NameFormatException
- Throws:
NameFormatException
execute
protected final void execute(IInvocationContext ctx)
throws Throwable
- Description copied from class:
Command
- This method should be overridden by every Command object.
- Specified by:
execute
in class Command
- Throws:
Exception
Throwable
execute
protected abstract void execute()
throws Throwable
- Throws:
Throwable
Copyright © 2014. All rights reserved.