Interface Condition.Builder

  • Method Details

    • signal

      Condition.Builder signal(String signal)

      The package attribute that the condition tests.

      Parameters:
      signal - The package attribute that the condition tests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • signal

      Condition.Builder signal(Signal signal)

      The package attribute that the condition tests.

      Parameters:
      signal - The package attribute that the condition tests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • operator

      Condition.Builder operator(String operator)

      How the signal is compared with the value.

      Parameters:
      operator - How the signal is compared with the value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • operator

      Condition.Builder operator(Operator operator)

      How the signal is compared with the value.

      Parameters:
      operator - How the signal is compared with the value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • value

      The value to compare the signal with. Omit it for the PRESENT operator, which takes no value.

      Parameters:
      value - The value to compare the signal with. Omit it for the PRESENT operator, which takes no value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • value

      The value to compare the signal with. Omit it for the PRESENT operator, which takes no value.

      This is a convenience method that creates an instance of the ConditionValue.Builder avoiding the need to create one manually via ConditionValue.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to value(ConditionValue).

      Parameters:
      value - a consumer that will call methods on ConditionValue.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: