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 TaskBuilder
addContextProperty(String contextProperty, String value)
adds a property to the execution context.TaskBuilder
addValue(String attributeName, Object value)
adds a value to an attribute.Task
build()
-
-
-
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
-
-