Class Summary |
AbstractContextCmd |
Base class for context-manipulating commands |
AddListToListCmd |
Gets a list from context and adds all elements to another list stored in context |
AddObjectToListCmd |
Gets an object from context and stores that object into a list in context |
ManipulateContextHelper |
Helper class used for context commands
plan for context manipulation:
action = {replace out with in|prepend in to out|append in to out}
valuein
indexin|keyin|null
foreach = {value in list|key in map|value in map|int|null}
change = {expand to singleton list|collapse list to set|expand set to map keys|convert map keys to set|convert set to list|convert map values to list}
valueout
indexout|keyout|null
foreach = {value in list|key in map|value in map|int|null}
change = {collapse list to set|expand set to map keys|convert map keys to set|convert set to list|convert map values to list |
PutObjectInMapCmd |
Gets an object from context and stores that object into a map in context |
RemoveObjectFromContextCmd |
Removes an object from context by replacing it with null |
StoreDefaultObjectCmd |
Stores a default value into context unless the object already exists in context |
StoreObjectAsStringCmd |
Gets an object from context and stores that object into context as its .toString() value |
StoreObjectFromListCmd |
Gets an object from a list in context and stores that object into context |
StoreObjectFromMapCmd |
Gets an object from a map in context and stores that object into context |
StoreObjectInContextCmd |
Gets an object from context and stores that object into another attribute |
VerifyObjectInContextCmd |
Compares two objects from context |