@@ -227,7 +227,7 @@ public void testExecute() throws Exception {
227
227
when (action .type ()).thenReturn ("MY_AWESOME_TYPE" );
228
228
when (action .execute ("_action" , context , payload )).thenReturn (actionResult );
229
229
230
- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null );
230
+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null , null );
231
231
232
232
WatchStatus watchStatus = new WatchStatus (now , singletonMap ("_action" , new ActionStatus (now )));
233
233
@@ -313,7 +313,7 @@ public void testExecuteFailedInput() throws Exception {
313
313
ExecutableAction action = mock (ExecutableAction .class );
314
314
when (action .execute ("_action" , context , payload )).thenReturn (actionResult );
315
315
316
- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null );
316
+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null , null );
317
317
WatchStatus watchStatus = new WatchStatus (now , singletonMap ("_action" , new ActionStatus (now )));
318
318
319
319
when (watch .input ()).thenReturn (input );
@@ -378,7 +378,7 @@ public void testExecuteFailedCondition() throws Exception {
378
378
ExecutableAction action = mock (ExecutableAction .class );
379
379
when (action .execute ("_action" , context , payload )).thenReturn (actionResult );
380
380
381
- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null );
381
+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null , null );
382
382
WatchStatus watchStatus = new WatchStatus (now , singletonMap ("_action" , new ActionStatus (now )));
383
383
384
384
when (watch .input ()).thenReturn (input );
@@ -442,7 +442,7 @@ public void testExecuteFailedWatchTransform() throws Exception {
442
442
ExecutableAction action = mock (ExecutableAction .class );
443
443
when (action .execute ("_action" , context , payload )).thenReturn (actionResult );
444
444
445
- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null );
445
+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null , null );
446
446
WatchStatus watchStatus = new WatchStatus (now , singletonMap ("_action" , new ActionStatus (now )));
447
447
448
448
when (watch .input ()).thenReturn (input );
@@ -520,7 +520,7 @@ public void testExecuteFailedActionTransform() throws Exception {
520
520
when (action .logger ()).thenReturn (logger );
521
521
when (action .execute ("_action" , context , payload )).thenReturn (actionResult );
522
522
523
- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null );
523
+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null , null );
524
524
525
525
WatchStatus watchStatus = new WatchStatus (now , singletonMap ("_action" , new ActionStatus (now )));
526
526
@@ -600,7 +600,7 @@ public void testExecuteInner() throws Exception {
600
600
ExecutableAction action = mock (ExecutableAction .class );
601
601
when (action .execute ("_action" , context , payload )).thenReturn (actionResult );
602
602
603
- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null );
603
+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null , null );
604
604
ZonedDateTime time = clock .instant ().atZone (ZoneOffset .UTC );
605
605
WatchStatus watchStatus = new WatchStatus (time , singletonMap ("_action" , new ActionStatus (now )));
606
606
@@ -649,7 +649,7 @@ public void testExecuteInnerThrottled() throws Exception {
649
649
650
650
ExecutableAction action = mock (ExecutableAction .class );
651
651
when (action .type ()).thenReturn ("_type" );
652
- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null );
652
+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null , null );
653
653
ZonedDateTime time = clock .instant ().atZone (ZoneOffset .UTC );
654
654
WatchStatus watchStatus = new WatchStatus (time , singletonMap ("_action" , new ActionStatus (now )));
655
655
@@ -712,7 +712,7 @@ public void testExecuteInnerConditionNotMet() throws Exception {
712
712
713
713
ExecutableAction action = mock (ExecutableAction .class );
714
714
when (action .type ()).thenReturn ("_type" );
715
- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null );
715
+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null , null );
716
716
ZonedDateTime time = clock .instant ().atZone (ZoneOffset .UTC );
717
717
WatchStatus watchStatus = new WatchStatus (time , singletonMap ("_action" , new ActionStatus (now )));
718
718
@@ -769,7 +769,7 @@ public void testExecuteInnerConditionNotMetDueToException() throws Exception {
769
769
ExecutableAction action = mock (ExecutableAction .class );
770
770
when (action .type ()).thenReturn ("_type" );
771
771
when (action .logger ()).thenReturn (logger );
772
- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null );
772
+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null , null );
773
773
ZonedDateTime time = clock .instant ().atZone (ZoneOffset .UTC );
774
774
WatchStatus watchStatus = new WatchStatus (time , singletonMap ("_action" , new ActionStatus (now )));
775
775
@@ -817,7 +817,7 @@ public void testExecuteConditionNotMet() throws Exception {
817
817
ExecutableCondition actionCondition = mock (ExecutableCondition .class );
818
818
ExecutableTransform actionTransform = mock (ExecutableTransform .class );
819
819
ExecutableAction action = mock (ExecutableAction .class );
820
- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null );
820
+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null , null );
821
821
822
822
ZonedDateTime time = clock .instant ().atZone (ZoneOffset .UTC );
823
823
WatchStatus watchStatus = new WatchStatus (time , singletonMap ("_action" , new ActionStatus (now )));
@@ -946,7 +946,7 @@ public void testThatTriggeredWatchDeletionHappensOnlyIfWatchExists() throws Exce
946
946
when (action .type ()).thenReturn ("MY_AWESOME_TYPE" );
947
947
when (action .execute ("_action" , context , payload )).thenReturn (actionResult );
948
948
949
- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , null , null , action , null );
949
+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , null , null , action , null , null );
950
950
951
951
WatchStatus watchStatus = new WatchStatus (now , singletonMap ("_action" , new ActionStatus (now )));
952
952
0 commit comments