|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.code.rees.scope.conversation.configuration.ConversationClassConfiguration
public class ConversationClassConfiguration
This class is used to cache the fields and action IDs for a single class for a single conversation.
ConversationConfigurationProvider},
ConversationProcessor}| Constructor Summary | |
|---|---|
ConversationClassConfiguration(String conversationName)
|
|
| Method Summary | |
|---|---|
void |
addAction(String actionId)
Add an actionId for an intermediate action |
void |
addBeginAction(String actionId,
Long maxIdleTimeMillis)
Add an actionId for a begin action |
void |
addEndAction(String actionId)
Add an actionId for an end action |
void |
addField(String name,
Field field)
Add a field to the configuration |
boolean |
containsAction(String actionId)
Indicates whether the actionId identifies the action as an intermediate member for this conversation |
String |
getConversationName()
Returns the name of the conversation that this configuration is for |
Map<String,Field> |
getFields()
Get the cached fields for conversation |
long |
getMaxIdleTime(String beginActionId)
given the begin action's ID, returns the max idle time (in milliseconds) for the conversation created by that action |
boolean |
isBeginAction(String actionId)
Indicates whether the actionId identifies the action as a begin member for this conversation |
boolean |
isEndAction(String actionId)
Indicates whether the actionId identifies the action as an end member for this conversation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConversationClassConfiguration(String conversationName)
| Method Detail |
|---|
public void addField(String name,
Field field)
name - field - public Map<String,Field> getFields()
public void addAction(String actionId)
actionId - ConversationAdapter#getActionId()},
ConversationArbitrator#getName(Method)}
public void addBeginAction(String actionId,
Long maxIdleTimeMillis)
actionId - ConversationAdapter#getActionId()},
ConversationArbitrator#getName(Method)}public void addEndAction(String actionId)
actionId - ConversationAdapter#getActionId()},
ConversationArbitrator#getName(Method)}public boolean containsAction(String actionId)
actionId -
ConversationAdapter#getActionId()},
ConversationArbitrator#getName(Method)}public boolean isBeginAction(String actionId)
actionId -
ConversationAdapter#getActionId()},
ConversationArbitrator#getName(Method)}public boolean isEndAction(String actionId)
actionId -
ConversationAdapter#getActionId()},
ConversationArbitrator#getName(Method)}public long getMaxIdleTime(String beginActionId)
beginActionId -
public String getConversationName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||