Interface ExtensionPoints<S,​A>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      S doesNotHave​(Condition<? super A> condition)
      Verifies that the actual value does not satisfy the given condition.
      S has​(Condition<? super A> condition)
      Verifies that the actual value satisfies the given condition.
      S is​(Condition<? super A> condition)
      Verifies that the actual value satisfies the given condition.
      S isNot​(Condition<? super A> condition)
      Verifies that the actual value does not satisfy the given condition.
    • Method Detail

      • is

        S is​(Condition<? super A> condition)
        Verifies that the actual value satisfies the given condition. This method is an alias for has(Condition).
        Parameters:
        condition - the given condition.
        Returns:
        this ExtensionPoints object.
        Throws:
        java.lang.NullPointerException - if the given condition is null.
        java.lang.AssertionError - if the actual value does not satisfy the given condition.
        See Also:
        is(Condition)
      • isNot

        S isNot​(Condition<? super A> condition)
        Verifies that the actual value does not satisfy the given condition. This method is an alias for doesNotHave(Condition).
        Parameters:
        condition - the given condition.
        Returns:
        this ExtensionPoints object.
        Throws:
        java.lang.NullPointerException - if the given condition is null.
        java.lang.AssertionError - if the actual value satisfies the given condition.
        See Also:
        isNot(Condition)
      • has

        S has​(Condition<? super A> condition)
        Verifies that the actual value satisfies the given condition. This method is an alias for is(Condition) .
        Parameters:
        condition - the given condition.
        Returns:
        this ExtensionPoints object.
        Throws:
        java.lang.NullPointerException - if the given condition is null.
        java.lang.AssertionError - if the actual value does not satisfy the given condition.
        See Also:
        is(Condition)
      • doesNotHave

        S doesNotHave​(Condition<? super A> condition)
        Verifies that the actual value does not satisfy the given condition. This method is an alias for isNot(Condition).
        Parameters:
        condition - the given condition.
        Returns:
        this ExtensionPoints object.
        Throws:
        java.lang.NullPointerException - if the given condition is null.
        java.lang.AssertionError - if the actual value satisfies the given condition.
        See Also:
        isNot(Condition)