Interface NotConditionSource

All Superinterfaces:
ConditionSource, SurfaceRule, Wrapper

@NullMarked @AsOf("3.0.0") public interface NotConditionSource extends ConditionSource
Inverts a surface condition, passing when the nested condition fails.
Since:
3.0.0
See Also:
  • Method Details

    • target

      @AsOf("3.0.0") ConditionSource target()
      The condition to invert.
      Returns:
      the inverted condition
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static NotConditionSource of(ConditionSource target)
      Creates a new not condition source.
      Parameters:
      target - the condition to invert
      Returns:
      the not condition source
      Since:
      3.0.0