public interface IsInfoSetFT extends IsInfoSet<FormattingTuple>
Interface for objects that have a set of info messages.
| Modifier and Type | Method and Description |
|---|---|
default void |
addAllInfos(IsInfoSetFT infos)
Adds all infos from given info set.
|
default void |
addInfo(String info)
Adds a new info.
|
default void |
addInfo(String info,
Object... obj)
Adds a new info.
|
static IsInfoSetFT |
create()
Creates a new info set.
|
default String |
render()
Renders the info set.
|
addAllInfos, addInfo, clearInfoMessages, getInfoMessages, hasInformation, isInfoSetisErrorSet, isWarningSetdefault void addAllInfos(IsInfoSetFT infos)
Adds all infos from given info set.
infos - infos to adddefault void addInfo(String info)
Adds a new info.
info - the info message, should not be blankNullPointerException - if info was nullIllegalArgumentException - if info was blankdefault void addInfo(String info, Object... obj)
Adds a new info.
info - the info message, should not be blankobj - the elements for the info message, should not be null and have no null elementsNullPointerException - if info or obj was nullIllegalArgumentException - if info was blank or obj contained null elementsdefault String render()
Renders the info set. Each element in the info set is rendered in a single line.
render in interface DoesRenderrender in interface IsInfoSet<FormattingTuple>static IsInfoSetFT create()
Creates a new info set.
Copyright © 2016–2017. All rights reserved.