Package eu.bandm.tools.annotations
Interface PreMessage
- All Known Implementing Classes:
SimpleMessage
,SimpleMessage.Ping
,SimplePreMessage
Represent a submessage of a message or a negative result of a test.
Consists of a text and a list of arguments. The text should
include format codes which correspond to the types of the arguments.
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
format()
Return the formatting of the string and its arguments.static String
format
(PreMessage pm) Object[]
getArgs()
Returns an access to the arguments.getText()
Evidentstatic PreMessage
preMessage
(String text, Object... args) Factory method.
-
Method Details