|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConversationArbitrator
This class is used by a ConversationConfigurationProvider to
determine which field and method members to associate with
conversations.
| Method Summary | |
|---|---|
Collection<String> |
getBeginConversations(Class<?> clazz,
Method method)
returns a collection of conversation names for the method as a begin point |
Collection<Field> |
getCandidateConversationFields(Class<?> clazz)
Returns a collection of candidate conversation fields from a class. |
Collection<Method> |
getCandidateConversationMethods(Class<?> clazz)
Returns a collection of candidate conversation action methods from a class. |
Collection<String> |
getConversations(Class<?> clazz,
Field field)
Returns a collection of conversation names for the field |
Collection<String> |
getConversations(Class<?> clazz,
Method method)
returns a collection of conversation names for the method as an intermediate point |
Collection<String> |
getEndConversations(Class<?> clazz,
Method method)
returns a collection of conversation names for the method as an end point |
String |
getName(Field field)
returns the name to be used for the field as a key in the conversation context |
String |
getName(Method method)
returns the name to be used as an actionId |
void |
setActionSuffix(String suffix)
The default suffix is "Controller". |
| Method Detail |
|---|
void setActionSuffix(String suffix)
MyExampleFlowController would be
my-example-flow. Use this setter to use a different suffix.
suffix - Collection<Field> getCandidateConversationFields(Class<?> clazz)
getConversations(Class, Field) to
determine
which, if any, conversations the field should be included with
clazz -
Collection<Method> getCandidateConversationMethods(Class<?> clazz)
getConversations(Class, Method) to
determine
which, if any, conversations the method should be included with
clazz -
Collection<String> getConversations(Class<?> clazz,
Field field)
clazz - field -
Collection<String> getConversations(Class<?> clazz,
Method method)
clazz - method -
com.google.code.rees.scope.conversation.annotations.ConversationAction
ConversationAction}String getName(Field field)
field -
String getName(Method method)
method -
ConversationAdapter#getActionId()}
Collection<String> getBeginConversations(Class<?> clazz,
Method method)
clazz - method -
com.google.code.rees.scope.conversation.annotations.BeginConversation
BeginConversation}
Collection<String> getEndConversations(Class<?> clazz,
Method method)
clazz - method -
com.google.code.rees.scope.conversation.annotations.EndConversation
EndConversation}
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||