AssignmentNodeDsl

interface AssignmentNodeDsl : AutomationFlowContributor

Known direct subclasses
SequentialFlowBuilder

Type-safe builder that builds a SequentialFlow Node.


Interface for constructing Assignment nodes and contributing them to an automation flow.

Summary

Nested types

Public functions

open Unit
<T : Any?> AssignmentNodeDsl.Variable<T>.assign(
    expression: TypedExpression<T>
)

A variable can generally only be assigned once per automation.

open Unit
<T : Any?> AssignmentNodeDsl.Variable<T>.assign(value: T)
open AssignmentNodeDsl.Variable<T>
<T : Any?> variable()

Public functions

assign

open fun <T : Any?> AssignmentNodeDsl.Variable<T>.assign(
    expression: TypedExpression<T>
): Unit

A variable can generally only be assigned once per automation. The one exception is that it can be assigned in each branch of a select flow.

assign

open fun <T : Any?> AssignmentNodeDsl.Variable<T>.assign(value: T): Unit

variable

open fun <T : Any?> variable(): AssignmentNodeDsl.Variable<T>