Interface AnyOfPredicate

All Superinterfaces:
BlockPredicate, CombiningPredicate, Wrapper

@NullMarked @AsOf("3.0.0") public interface AnyOfPredicate extends CombiningPredicate
Combined multiple block predicates. Matches if at least one of the specified blocks predicates matches.
Since:
3.0.0
See Also:
  • Method Details

    • toBuilder

      @AsOf("3.0.0") default AnyOfPredicate.Builder toBuilder()
      Converts this object to a builder.
      Returns:
      the builder
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static AnyOfPredicate of(List<BlockPredicate> predicates)
      Creates a new AnyOfPredicate with the specified predicates.
      Parameters:
      predicates - the predicates to combine
      Returns:
      the AnyOfPredicate
      Since:
      3.0.0
    • builder

      @AsOf("3.0.0") static AnyOfPredicate.Builder builder()
      Creates a new builder.
      Returns:
      a new builder
      Since:
      3.0.0