File tree 3 files changed +20
-3
lines changed
org.springframework.context/src/main/java/org/springframework/conversation
3 files changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ public interface Conversation {
186
186
*
187
187
* @return <code>true</code>, if this is a switched conversation
188
188
*/
189
- boolean isSwtiched ();
189
+ boolean isSwitched ();
190
190
191
191
/**
192
192
* Returns <code>true</code>, if this is a nested, isolated conversation so
Original file line number Diff line number Diff line change @@ -160,6 +160,13 @@ public void setTemporary(boolean temporary) {
160
160
this .temporary = temporary ;
161
161
}
162
162
163
+ /**
164
+ * @see org.springframework.conversation.manager.MutableConversation#setSwitched(boolean)
165
+ */
166
+ public void setSwitched (boolean switched ) {
167
+ this .switched = switched ;
168
+ }
169
+
163
170
/**
164
171
* @see org.springframework.conversation.Conversation#begin()
165
172
*/
@@ -347,9 +354,9 @@ public boolean isIsolated() {
347
354
}
348
355
349
356
/**
350
- * @see org.springframework.conversation.Conversation#isSwtiched ()
357
+ * @see org.springframework.conversation.Conversation#isSwitched ()
351
358
*/
352
- public boolean isSwtiched () {
359
+ public boolean isSwitched () {
353
360
return switched ;
354
361
}
355
362
Original file line number Diff line number Diff line change 19
19
import org .springframework .conversation .ConversationActivationType ;
20
20
import org .springframework .conversation .ConversationDeactivationType ;
21
21
import org .springframework .conversation .ConversationEndingType ;
22
+ import org .springframework .conversation .JoinMode ;
22
23
23
24
/**
24
25
* <p>
@@ -47,6 +48,15 @@ public interface MutableConversation extends Conversation {
47
48
*/
48
49
void setTemporary (boolean temporary );
49
50
51
+ /**
52
+ * Set the flag whether this conversation is a switched one or not. See
53
+ * {@link JoinMode#SWITCHED} for a detailed description about switched
54
+ * conversations.
55
+ *
56
+ * @param switched <code>true</code>, if this is a switched conversation
57
+ */
58
+ void setSwitched (boolean switched );
59
+
50
60
/**
51
61
* Set the given conversation as the parent conversation of this one. So
52
62
* this conversation will be a nested conversation of the given parent.
You can’t perform that action at this time.
0 commit comments