File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
common/src/main/java/com/netflix/conductor/common/metadata/workflow Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,12 @@ public void setTasks(List<WorkflowTask> tasks) {
151
151
@ ProtoField (id = 29 )
152
152
private String joinStatus ;
153
153
154
+ @ ProtoField (id = 30 )
155
+ private Map <String , Object > cacheKey = new HashMap <>();
156
+
157
+ @ ProtoField (id = 31 )
158
+ private long cacheTTL ;
159
+
154
160
/*
155
161
Map of events to be emitted when the task status changed.
156
162
key can be comma separated values of the status changes prefixed with "on"<STATUS>
@@ -392,6 +398,22 @@ public void setScriptExpression(String expression) {
392
398
this .scriptExpression = expression ;
393
399
}
394
400
401
+ public Map <String , Object > getCacheKey () {
402
+ return cacheKey ;
403
+ }
404
+
405
+ public void setCacheKey (Map <String , Object > cacheKey ) {
406
+ this .cacheKey = cacheKey ;
407
+ }
408
+
409
+ public long getCacheTTL () {
410
+ return cacheTTL ;
411
+ }
412
+
413
+ public void setCacheTTL (long cacheTTL ) {
414
+ this .cacheTTL = cacheTTL ;
415
+ }
416
+
395
417
/**
396
418
* @return the subWorkflow
397
419
*/
You can’t perform that action at this time.
0 commit comments