Skip to content

Commit ffb44f9

Browse files
Remove @experimental notice from Update-with-start (#2599)
1 parent bc5ab1d commit ffb44f9

File tree

3 files changed

+0
-33
lines changed

3 files changed

+0
-33
lines changed

temporal-sdk/src/main/java/io/temporal/client/WithStartWorkflowOperation.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package io.temporal.client;
22

3-
import io.temporal.common.Experimental;
43
import io.temporal.workflow.Functions;
54
import java.util.Arrays;
65
import java.util.concurrent.atomic.AtomicBoolean;
@@ -13,7 +12,6 @@
1312
*
1413
* @param <R> type of the workflow result
1514
*/
16-
@Experimental
1715
public final class WithStartWorkflowOperation<R> {
1816

1917
private final AtomicBoolean invoked = new AtomicBoolean(false);

temporal-sdk/src/main/java/io/temporal/client/WorkflowClient.java

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,6 @@ static <R, A1, A2, A3, A4, A5, A6> WorkflowUpdateHandle<R> startUpdate(
848848
* @param startOperation start workflow operation
849849
* @return WorkflowUpdateHandle that can be used to get the result of the update
850850
*/
851-
@Experimental
852851
static <R> WorkflowUpdateHandle<R> startUpdateWithStart(
853852
Proc updateMethod,
854853
@Nonnull UpdateOptions<R> options,
@@ -866,7 +865,6 @@ static <R> WorkflowUpdateHandle<R> startUpdateWithStart(
866865
* @param startOperation start workflow operation
867866
* @return WorkflowUpdateHandle that can be used to get the result of the update
868867
*/
869-
@Experimental
870868
static <R, A1> WorkflowUpdateHandle<R> startUpdateWithStart(
871869
Proc1<A1> updateMethod,
872870
A1 arg1,
@@ -887,7 +885,6 @@ static <R, A1> WorkflowUpdateHandle<R> startUpdateWithStart(
887885
* @param startOperation start workflow operation
888886
* @return WorkflowUpdateHandle that can be used to get the result of the update
889887
*/
890-
@Experimental
891888
static <R, A1, A2> WorkflowUpdateHandle<R> startUpdateWithStart(
892889
Proc2<A1, A2> updateMethod,
893890
A1 arg1,
@@ -910,7 +907,6 @@ static <R, A1, A2> WorkflowUpdateHandle<R> startUpdateWithStart(
910907
* @param startOperation start workflow operation
911908
* @return WorkflowUpdateHandle that can be used to get the result of the update
912909
*/
913-
@Experimental
914910
static <R, A1, A2, A3> WorkflowUpdateHandle<R> startUpdateWithStart(
915911
Proc3<A1, A2, A3> updateMethod,
916912
A1 arg1,
@@ -935,7 +931,6 @@ static <R, A1, A2, A3> WorkflowUpdateHandle<R> startUpdateWithStart(
935931
* @param startOperation start workflow operation
936932
* @return WorkflowUpdateHandle that can be used to get the result of the update
937933
*/
938-
@Experimental
939934
static <R, A1, A2, A3, A4> WorkflowUpdateHandle<R> startUpdateWithStart(
940935
Proc4<A1, A2, A3, A4> updateMethod,
941936
A1 arg1,
@@ -962,7 +957,6 @@ static <R, A1, A2, A3, A4> WorkflowUpdateHandle<R> startUpdateWithStart(
962957
* @param startOperation start workflow operation
963958
* @return WorkflowUpdateHandle that can be used to get the result of the update
964959
*/
965-
@Experimental
966960
static <R, A1, A2, A3, A4, A5> WorkflowUpdateHandle<R> startUpdateWithStart(
967961
Proc5<A1, A2, A3, A4, A5> updateMethod,
968962
A1 arg1,
@@ -991,7 +985,6 @@ static <R, A1, A2, A3, A4, A5> WorkflowUpdateHandle<R> startUpdateWithStart(
991985
* @param startOperation start workflow operation
992986
* @return WorkflowUpdateHandle that can be used to get the result of the update
993987
*/
994-
@Experimental
995988
static <R, A1, A2, A3, A4, A5, A6> WorkflowUpdateHandle<R> startUpdateWithStart(
996989
Proc6<A1, A2, A3, A4, A5, A6> updateMethod,
997990
A1 arg1,
@@ -1015,7 +1008,6 @@ static <R, A1, A2, A3, A4, A5, A6> WorkflowUpdateHandle<R> startUpdateWithStart(
10151008
* @param startOperation start workflow operation
10161009
* @return WorkflowUpdateHandle that can be used to get the result of the update
10171010
*/
1018-
@Experimental
10191011
static <R> WorkflowUpdateHandle<R> startUpdateWithStart(
10201012
Func<R> updateMethod,
10211013
@Nonnull UpdateOptions<R> options,
@@ -1034,7 +1026,6 @@ static <R> WorkflowUpdateHandle<R> startUpdateWithStart(
10341026
* @param startOperation start workflow operation
10351027
* @return WorkflowUpdateHandle that can be used to get the result of the update
10361028
*/
1037-
@Experimental
10381029
static <A1, R> WorkflowUpdateHandle<R> startUpdateWithStart(
10391030
Func1<A1, R> updateMethod,
10401031
A1 arg1,
@@ -1055,7 +1046,6 @@ static <A1, R> WorkflowUpdateHandle<R> startUpdateWithStart(
10551046
* @param startOperation start workflow operation
10561047
* @return WorkflowUpdateHandle that can be used to get the result of the update
10571048
*/
1058-
@Experimental
10591049
static <A1, A2, R> WorkflowUpdateHandle<R> startUpdateWithStart(
10601050
Functions.Func2<A1, A2, R> updateMethod,
10611051
A1 arg1,
@@ -1078,7 +1068,6 @@ static <A1, A2, R> WorkflowUpdateHandle<R> startUpdateWithStart(
10781068
* @param startOperation start workflow operation
10791069
* @return WorkflowUpdateHandle that can be used to get the result of the update
10801070
*/
1081-
@Experimental
10821071
static <A1, A2, A3, R> WorkflowUpdateHandle<R> startUpdateWithStart(
10831072
Functions.Func3<A1, A2, A3, R> updateMethod,
10841073
A1 arg1,
@@ -1103,7 +1092,6 @@ static <A1, A2, A3, R> WorkflowUpdateHandle<R> startUpdateWithStart(
11031092
* @param startOperation start workflow operation
11041093
* @return WorkflowUpdateHandle that can be used to get the result of the update
11051094
*/
1106-
@Experimental
11071095
static <A1, A2, A3, A4, R> WorkflowUpdateHandle<R> startUpdateWithStart(
11081096
Functions.Func4<A1, A2, A3, A4, R> updateMethod,
11091097
A1 arg1,
@@ -1130,7 +1118,6 @@ static <A1, A2, A3, A4, R> WorkflowUpdateHandle<R> startUpdateWithStart(
11301118
* @param startOperation start workflow operation
11311119
* @return WorkflowUpdateHandle that can be used to get the result of the update
11321120
*/
1133-
@Experimental
11341121
static <A1, A2, A3, A4, A5, R> WorkflowUpdateHandle<R> startUpdateWithStart(
11351122
Functions.Func5<A1, A2, A3, A4, A5, R> updateMethod,
11361123
A1 arg1,
@@ -1159,7 +1146,6 @@ static <A1, A2, A3, A4, A5, R> WorkflowUpdateHandle<R> startUpdateWithStart(
11591146
* @param startOperation start workflow operation
11601147
* @return WorkflowUpdateHandle that can be used to get the result of the update
11611148
*/
1162-
@Experimental
11631149
static <A1, A2, A3, A4, A5, A6, R> WorkflowUpdateHandle<R> startUpdateWithStart(
11641150
Functions.Func6<A1, A2, A3, A4, A5, A6, R> updateMethod,
11651151
A1 arg1,
@@ -1183,7 +1169,6 @@ static <A1, A2, A3, A4, A5, A6, R> WorkflowUpdateHandle<R> startUpdateWithStart(
11831169
* @param startOperation start workflow operation
11841170
* @return WorkflowUpdateHandle that can be used to get the result of the update
11851171
*/
1186-
@Experimental
11871172
static <R> R executeUpdateWithStart(
11881173
Functions.Proc updateMethod,
11891174
@Nonnull UpdateOptions<R> options,
@@ -1201,7 +1186,6 @@ static <R> R executeUpdateWithStart(
12011186
* @param startOperation start workflow operation
12021187
* @return update result
12031188
*/
1204-
@Experimental
12051189
static <R, A1> R executeUpdateWithStart(
12061190
Proc1<A1> updateMethod,
12071191
A1 arg1,
@@ -1222,7 +1206,6 @@ static <R, A1> R executeUpdateWithStart(
12221206
* @param startOperation start workflow operation
12231207
* @return update result
12241208
*/
1225-
@Experimental
12261209
static <R, A1, A2> R executeUpdateWithStart(
12271210
Proc2<A1, A2> updateMethod,
12281211
A1 arg1,
@@ -1245,7 +1228,6 @@ static <R, A1, A2> R executeUpdateWithStart(
12451228
* @param startOperation start workflow operation
12461229
* @return update result
12471230
*/
1248-
@Experimental
12491231
static <R, A1, A2, A3> R executeUpdateWithStart(
12501232
Proc3<A1, A2, A3> updateMethod,
12511233
A1 arg1,
@@ -1270,7 +1252,6 @@ static <R, A1, A2, A3> R executeUpdateWithStart(
12701252
* @param startOperation start workflow operation
12711253
* @return update result
12721254
*/
1273-
@Experimental
12741255
static <R, A1, A2, A3, A4> R executeUpdateWithStart(
12751256
Proc4<A1, A2, A3, A4> updateMethod,
12761257
A1 arg1,
@@ -1297,7 +1278,6 @@ static <R, A1, A2, A3, A4> R executeUpdateWithStart(
12971278
* @param startOperation start workflow operation
12981279
* @return update result
12991280
*/
1300-
@Experimental
13011281
static <R, A1, A2, A3, A4, A5> R executeUpdateWithStart(
13021282
Proc5<A1, A2, A3, A4, A5> updateMethod,
13031283
A1 arg1,
@@ -1326,7 +1306,6 @@ static <R, A1, A2, A3, A4, A5> R executeUpdateWithStart(
13261306
* @param startOperation start workflow operation
13271307
* @return update result
13281308
*/
1329-
@Experimental
13301309
static <R, A1, A2, A3, A4, A5, A6> R executeUpdateWithStart(
13311310
Proc6<A1, A2, A3, A4, A5, A6> updateMethod,
13321311
A1 arg1,
@@ -1349,7 +1328,6 @@ static <R, A1, A2, A3, A4, A5, A6> R executeUpdateWithStart(
13491328
* @param startOperation start workflow operation
13501329
* @return update result
13511330
*/
1352-
@Experimental
13531331
static <R> R executeUpdateWithStart(
13541332
Func<R> updateMethod,
13551333
@Nonnull UpdateOptions<R> options,
@@ -1367,7 +1345,6 @@ static <R> R executeUpdateWithStart(
13671345
* @param startOperation start workflow operation
13681346
* @return update result
13691347
*/
1370-
@Experimental
13711348
static <A1, R> R executeUpdateWithStart(
13721349
Func1<A1, R> updateMethod,
13731350
A1 arg1,
@@ -1387,7 +1364,6 @@ static <A1, R> R executeUpdateWithStart(
13871364
* @param startOperation start workflow operation
13881365
* @return update result
13891366
*/
1390-
@Experimental
13911367
static <A1, A2, R> R executeUpdateWithStart(
13921368
Functions.Func2<A1, A2, R> updateMethod,
13931369
A1 arg1,
@@ -1409,7 +1385,6 @@ static <A1, A2, R> R executeUpdateWithStart(
14091385
* @param startOperation start workflow operation
14101386
* @return update result
14111387
*/
1412-
@Experimental
14131388
static <A1, A2, A3, R> R executeUpdateWithStart(
14141389
Functions.Func3<A1, A2, A3, R> updateMethod,
14151390
A1 arg1,
@@ -1433,7 +1408,6 @@ static <A1, A2, A3, R> R executeUpdateWithStart(
14331408
* @param startOperation start workflow operation
14341409
* @return update result
14351410
*/
1436-
@Experimental
14371411
static <A1, A2, A3, A4, R> R executeUpdateWithStart(
14381412
Functions.Func4<A1, A2, A3, A4, R> updateMethod,
14391413
A1 arg1,
@@ -1459,7 +1433,6 @@ static <A1, A2, A3, A4, R> R executeUpdateWithStart(
14591433
* @param startOperation start workflow operation
14601434
* @return update result
14611435
*/
1462-
@Experimental
14631436
static <A1, A2, A3, A4, A5, R> R executeUpdateWithStart(
14641437
Functions.Func5<A1, A2, A3, A4, A5, R> updateMethod,
14651438
A1 arg1,
@@ -1487,7 +1460,6 @@ static <A1, A2, A3, A4, A5, R> R executeUpdateWithStart(
14871460
* @param startOperation start workflow operation
14881461
* @return update result
14891462
*/
1490-
@Experimental
14911463
static <A1, A2, A3, A4, A5, A6, R> R executeUpdateWithStart(
14921464
Functions.Func6<A1, A2, A3, A4, A5, A6, R> updateMethod,
14931465
A1 arg1,

temporal-sdk/src/main/java/io/temporal/client/WorkflowStub.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import io.temporal.api.common.v1.WorkflowExecution;
44
import io.temporal.api.enums.v1.QueryRejectCondition;
55
import io.temporal.api.enums.v1.WorkflowIdConflictPolicy;
6-
import io.temporal.common.Experimental;
76
import io.temporal.failure.CanceledFailure;
87
import io.temporal.failure.TerminatedFailure;
98
import io.temporal.failure.TimeoutFailure;
@@ -144,7 +143,6 @@ <R> WorkflowUpdateHandle<R> getUpdateHandle(
144143
* @param <R> type of the update workflow result
145144
* @return WorkflowUpdateHandle that can be used to get the result of the update
146145
*/
147-
@Experimental
148146
<R> WorkflowUpdateHandle<R> startUpdateWithStart(
149147
UpdateOptions<R> updateOptions, Object[] updateArgs, Object[] startArgs);
150148

@@ -159,7 +157,6 @@ <R> WorkflowUpdateHandle<R> startUpdateWithStart(
159157
* @param <R> type of the update workflow result
160158
* @return update result
161159
*/
162-
@Experimental
163160
<R> R executeUpdateWithStart(
164161
UpdateOptions<R> updateOptions, Object[] updateArgs, Object[] startArgs);
165162

0 commit comments

Comments
 (0)