Build a new context containing the variables of the current context plus the variable constructed from the parameters.
Build a new context containing the variables of the current context plus the variable constructed from the parameters.
a tuple (prototype, value) to construct the variable
the new context
Build a new context containing the variables of the current context plus the variable constructed from the parameters.
Build a new context containing the variables of the current context plus the variable constructed from the parameters.
the prototype of the variable
the value of the variable
the new context
Build a new context containing the variables of the current context plus the variables given in parameter.
Build a new context containing the variables of the current context plus the variables given in parameter.
the variables to add
the new context
Build a new context containing the variables of the current context minus the variable which names have been passed in parameter.
Build a new context containing the variables of the current context minus the variable which names have been passed in parameter.
the names of the variables
the new context
Get a variable valaue given a prototype name.
Get a variable valaue given a prototype name. This method get the variable by its name and then cast it to the correct type.
the prototype that matches the name of the variable
value the value
a
UserBadDataError if the variable hasn't been found
Get a variable valaue given a prototype name.
Get a variable valaue given a prototype name. This method get the variable by its name and then cast it to the correct type.
the name of the variable
value the value
a
UserBadDataError if the variable hasn't been found
(Changed in version 2.8.0) keys
returns Iterable[A]
rather than Iterator[A]
.
Get a variable value given a prototype name.
Get a variable value given a prototype name. This method get the variable by its name and then cast it to the correct type.
the prototype that matches the name of the variable
Some(value) if a variable with the given name is present None otherwise
Get a variable value given its name.
Get a variable value given its name.
the name of the variable
Some(value) if a variable with the given name is present None otherwise
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
(Changed in version 2.8.0) values
returns Iterable[B]
rather than Iterator[B]
.
Get a variable given a prototype name.
Get a variable given a prototype name. This method get the variable by its name and then cast it to the correct type.
the prototype that matches the name of the variable
Some(variable) if a variable with the given name is present None otherwise
Get a variable given its name.
Get a variable given its name.
the name of the variable
Some(variable) if a variable with the given name is present None otherwise
Context represents a bunch of variables used by the task excutions. A task execution can remove variables from context, change the values of the variables and add values to it.