Package org.assertj.core.description
Class Description
- java.lang.Object
-
- org.assertj.core.description.Description
-
- Direct Known Subclasses:
JoinDescription
,LazyTextDescription
,TextDescription
public abstract class Description extends Object
The description of a value.- Author:
- Alex Ruiz, Yvonne Wang
-
-
Constructor Summary
Constructors Constructor Description Description()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static Description
emptyIfNull(Description description)
static String
mostRelevantDescription(Description existingDescription, String newDescription)
String
toString()
abstract String
value()
-
-
-
Method Detail
-
value
public abstract String value()
- Returns:
- the value of this description.
-
emptyIfNull
public static Description emptyIfNull(Description description)
-
mostRelevantDescription
public static String mostRelevantDescription(Description existingDescription, String newDescription)
-
-