com.ibm.streamsx.topology.tester

Interface Condition<T>

    • Method Detail

      • valid

        boolean valid()
        Test if this condition is valid.
        Returns:
        true if this condition is valid, false otherwise.
      • getResult

        T getResult()
        Get the result for this condition.
        Returns:
        result for this condition.
      • and

        default Condition<java.lang.Boolean> and(Condition<?>... conditions)
        Return a condition that is true if this AND all conditions are valid. The result is a Boolean that indicates if all conditions is valid.
        Parameters:
        conditions - Conditions to be ANDed together.
        Returns:
        Condition that is valid if all conditions are valid.
      • all

        static Condition<java.lang.Boolean> all(Condition<?>... conditions)
        Return a condition that is true if all conditions are valid. The result is a Boolean that indicates if all conditions is valid.
        Parameters:
        conditions - Conidtions to be ANDed together.
        Returns:
        Condition that is valid if all conditions are valid.
streamsx.topology 1.5 @ IBMStreams GitHub