@@ -165,7 +165,7 @@ public List<AliasedConnection> getConnections() {
165165 * Set connections of the workflow trace. Use only if you know what you are
166166 * doing. Unless you are manually configuring workflow traces (say for MiTM
167167 * or unit tests), there shouldn't be any need to call this method.
168- *
168+ *
169169 * @param connections
170170 * new connection to use with this workflow trace
171171 */
@@ -178,7 +178,7 @@ public void setConnections(List<AliasedConnection> connections) {
178178 * Add a connection to the workflow trace. Use only if you know what you are
179179 * doing. Unless you are manually configuring workflow traces (say for MiTM
180180 * or unit tests), there shouldn't be any need to call this method.
181- *
181+ *
182182 * @param connection
183183 * new connection to add to the workflow trace
184184 */
@@ -219,7 +219,7 @@ public List<SendingAction> getSendingActions() {
219219
220220 /**
221221 * Get the last TlsAction of the workflow trace.
222- *
222+ *
223223 * @return the last TlsAction of the workflow trace. Null if no actions are
224224 * defined
225225 */
@@ -233,7 +233,7 @@ public TlsAction getLastAction() {
233233
234234 /**
235235 * Get the last MessageAction of the workflow trace.
236- *
236+ *
237237 * @return the last MessageAction of the workflow trace. Null if no message
238238 * actions are defined
239239 */
@@ -248,7 +248,7 @@ public MessageAction getLastMessageAction() {
248248
249249 /**
250250 * Get the last SendingAction of the workflow trace.
251- *
251+ *
252252 * @return the last SendingAction of the workflow trace. Null if no sending
253253 * actions are defined
254254 */
@@ -263,7 +263,7 @@ public SendingAction getLastSendingAction() {
263263
264264 /**
265265 * Get the last ReceivingActionAction of the workflow trace.
266- *
266+ *
267267 * @return the last ReceivingActionAction of the workflow trace. Null if no
268268 * receiving actions are defined
269269 */
@@ -333,6 +333,16 @@ public boolean executedAsPlanned() {
333333 return true ;
334334 }
335335
336+ public boolean allActionsExecuted () {
337+ for (TlsAction action : tlsActions ) {
338+ if (!action .isExecuted ()) {
339+ return false ;
340+ }
341+ }
342+ return true ;
343+
344+ }
345+
336346 public boolean isDirty () {
337347 return dirty ;
338348 }
@@ -343,13 +353,13 @@ public void setDirty(boolean dirty) {
343353
344354 /**
345355 * Copy a workflow trace.
346- *
356+ *
347357 * TODO: This should be replaced by a better copy method. Using
348358 * serialization is slow and needs some additional "tweaks", i.e. we have to
349359 * manually restore important fields marked as XmlTransient. This problem
350360 * arises because the classes are configured for nice JAXB output, and not
351361 * for copying/storing full objects.
352- *
362+ *
353363 * @param orig
354364 * the original WorkflowTrace object to copy
355365 * @return a copy of the original WorkflowTrace
0 commit comments