Package io.vertigo.datamodel.task.model
Class TaskBuilder
java.lang.Object
io.vertigo.datamodel.task.model.TaskBuilder
- All Implemented Interfaces:
io.vertigo.core.lang.Builder<Task>
Builder to build a task.
- Author:
- pchretien
-
Method Summary
Modifier and TypeMethodDescriptionaddContextProperty(String contextProperty, String value) adds a property to the execution context.adds a value to an attribute.build()
-
Method Details
-
addValue
adds a value to an attribute.- Parameters:
attributeName- the name of the attributevalue- the values- Returns:
- this builder
-
addContextProperty
adds a property to the execution context.- Parameters:
contextProperty- the name of the context propertyvalue- the values- Returns:
- this builder
-
build
- Specified by:
buildin interfaceio.vertigo.core.lang.Builder<Task>
-