public class PredicateDescription
extends java.lang.Object
Predicate
description to be able to control how it is formatted in error messages using a
Representation
.
Immutable class.
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
DEFAULT |
java.lang.String |
description |
static PredicateDescription |
GIVEN |
Constructor and Description |
---|
PredicateDescription(java.lang.String description)
Build a
PredicateDescription . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
isDefault() |
private static final java.lang.String DEFAULT
public static final PredicateDescription GIVEN
public final java.lang.String description
public PredicateDescription(java.lang.String description)
PredicateDescription
.description
- must not be null