Condition.Status| Modifier and Type | Field and Description |
|---|---|
protected static String |
PREFIX_DELIMITER |
protected static String |
SUFFIX_DELIMITER |
| Modifier | Constructor and Description |
|---|---|
protected |
Join(Condition<? super T>... conditions)
Creates a new
. |
protected |
Join(Iterable<? extends Condition<? super T>> conditions)
Creates a new
. |
| Modifier and Type | Method and Description |
|---|---|
Description |
conditionDescriptionWithStatus(T actual)
Returns the description of this condition with its status failed or success.
|
Collection<Condition<? super T>> |
conditions()
Returns the conditions to join.
|
Description |
description()
Returns the description of this condition.
|
abstract String |
descriptionPrefix()
method used to prefix the subclass join description, ex: "all of"
|
describedAs, matches, status, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitas, as, as, describedAsprotected static final String SUFFIX_DELIMITER
protected static final String PREFIX_DELIMITER
@SafeVarargs protected Join(Condition<? super T>... conditions)
Join.conditions - the conditions to join.NullPointerException - if the given array is null.NullPointerException - if any of the elements in the given array is null.protected Join(Iterable<? extends Condition<? super T>> conditions)
Join.conditions - the conditions to join.NullPointerException - if the given iterable is null.NullPointerException - if any of the elements in the given iterable is null.public abstract String descriptionPrefix()
public Description description()
Conditiondescription in class Condition<T>public Description conditionDescriptionWithStatus(T actual)
ConditionconditionDescriptionWithStatus in class Condition<T>actual - the instance to evaluate the condition status against.public final Collection<Condition<? super T>> conditions()
Copyright © 2025. All rights reserved.