|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectse.kmr.scam.client.chain.CommandChainConfiguration
A container for named CommandChain definitions. Note: Only definitions of CommandChain's is stored in this object This object provides a mechanism for instanciating named CommandChain objects, provided that the provided name is associated with a CommandChain definition.
| Constructor Summary | |
CommandChainConfiguration(String nameOfDefaultChain,
String nameOfErrorHandlerChain)
Constructor for the CommandChainConfiguration object |
|
| Method Summary | |
void |
addChain(String name,
Map chainDef)
Adds a definition for a CommandChain object to the CommandChainConfiguration object |
CommandChain |
getChain(String name)
Gets an instance of a named CommandChain object. |
Map |
getChainDefinition(String name)
Gets a named chain-definition from the CommandChainConfiguration object |
CommandChain |
getChainFromAlias(String alias)
Gets an instance of a CommandChain object, identified through an alias. |
CommandChain |
getErrorHandlerChain()
Gets the CommandChain designated as error handler. |
void |
setActionsMapping(Map actions)
Sets the actionsMapping attribute of the CommandChainConfiguration object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CommandChainConfiguration(String nameOfDefaultChain,
String nameOfErrorHandlerChain)
nameOfDefaultChain - identifier for the default CommandChain
objectnameOfErrorHandlerChain - identifier for the CommandChain object
designated as a error handler| Method Detail |
public void setActionsMapping(Map actions)
actions - The new actionsMapping value
public void addChain(String name,
Map chainDef)
name - The name associated with the definitionchainDef - The CommandChain definitionpublic CommandChain getChain(String name)
name - The identifier of the CommandChain definition.
public CommandChain getChainFromAlias(String alias)
alias - The alias of the CommandChain definition.
public Map getChainDefinition(String name)
name - the name of the chain-definition
public CommandChain getErrorHandlerChain()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||