Package io.vertigo.datamodel.task.model
Class TaskBuilder
- java.lang.Object
-
- io.vertigo.datamodel.task.model.TaskBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskBuilderaddContextProperty(String contextProperty, String value)adds a property to the execution context.TaskBuilderaddValue(String attributeName, Object value)adds a value to an attribute.Taskbuild()
-
-
-
Method Detail
-
addValue
public TaskBuilder addValue(String attributeName, Object value)
adds a value to an attribute.- Parameters:
attributeName- the name of the attributevalue- the values- Returns:
- this builder
-
addContextProperty
public TaskBuilder addContextProperty(String contextProperty, String value)
adds a property to the execution context.- Parameters:
contextProperty- the name of the context propertyvalue- the values- Returns:
- this builder
-
-