public interface Description
SelfDescribing.describeTo(Description)
Modifier and Type | Method and Description |
---|---|
Description |
appendDescriptionOf(SelfDescribing value)
Appends the description of a
SelfDescribing value to this description. |
Description |
appendList(String start,
String separator,
String end,
Iterable<? extends SelfDescribing> values)
Appends a list of
SelfDescribing objects
to the description. |
Description |
appendText(String text)
Appends some plain text to the description.
|
Description |
appendValue(Object value)
Appends an arbitary value to the description.
|
<T> Description |
appendValueList(String start,
String separator,
String end,
Iterable<T> values)
Appends a list of values to the description.
|
<T> Description |
appendValueList(String start,
String separator,
String end,
T... values)
Appends a list of values to the description.
|
Description appendText(String text)
Description appendDescriptionOf(SelfDescribing value)
SelfDescribing
value to this description.Description appendValue(Object value)
<T> Description appendValueList(String start, String separator, String end, T... values)
<T> Description appendValueList(String start, String separator, String end, Iterable<T> values)
Description appendList(String start, String separator, String end, Iterable<? extends SelfDescribing> values)
SelfDescribing
objects
to the description.Copyright © 2018. All rights reserved.