File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
common/src/main/java/com/netflix/conductor/common/metadata/workflow Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,9 @@ public enum TimeoutPolicy {
106
106
@ ProtoField (id = 21 )
107
107
private boolean enforceSchema = true ;
108
108
109
+ @ ProtoField (id = 22 )
110
+ private Map <String ,Object > metadata ;
111
+
109
112
public boolean isEnforceSchema () {
110
113
return enforceSchema ;
111
114
}
@@ -366,6 +369,14 @@ public void setOutputSchema(SchemaDef outputSchema) {
366
369
this .outputSchema = outputSchema ;
367
370
}
368
371
372
+ public Map <String , Object > getMetadata () {
373
+ return metadata ;
374
+ }
375
+
376
+ public void setMetadata (Map <String , Object > metadata ) {
377
+ this .metadata = metadata ;
378
+ }
379
+
369
380
public boolean containsType (String taskType ) {
370
381
return collectTasks ().stream ().anyMatch (t -> t .getType ().equals (taskType ));
371
382
}
You can’t perform that action at this time.
0 commit comments