|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jwalk.out.Report org.jwalk.out.Question org.jwalk.out.Notification
public class Notification
Notification is a kind of acknowledged interaction with the tester. The content-part of a Notification is a pretty-printed notice to the human tester. This could be to report that an oracle file was written, or that the test series was abandoned, or that it ran out of memory. The question-part of this Notification is an invitation to acknowledge the notification by entering OK. A notification is flagged with different levels of urgency.
Field Summary |
---|
Fields inherited from class org.jwalk.out.Report |
---|
edition, walker |
Constructor Summary | |
---|---|
Notification(JWalker walker)
Creates a silent Notification, sent by a JWalker as a signal. |
|
Notification(JWalker walker,
JWalkException exception)
Creates a Notification, wrapping up an exception raised by a JWalker. |
|
Notification(JWalker walker,
java.lang.String content,
Urgency urgency)
Creates a Notification, containing information, with a given urgency. |
Method Summary | |
---|---|
java.lang.String |
getContent()
Returns the textual information content of this Notification. |
JWalkException |
getException()
Returns the exception object wrapped by this Notification. |
java.lang.String |
getQuestion()
Returns the query-part of this Notification request as formatted text. |
Urgency |
getUrgency()
Reports how severe this notification is. |
Methods inherited from class org.jwalk.out.Question |
---|
toString |
Methods inherited from class org.jwalk.out.Report |
---|
getEdition, getJWalker |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Notification(JWalker walker, java.lang.String content, Urgency urgency)
walker
- the JWalker that issued this Notification request.content
- the content of this Notification.urgency
- the seriousness of this Notification.public Notification(JWalker walker, JWalkException exception)
walker
- the JWalker that issued this Notification request.exception
- the exception raised by the JWalker.public Notification(JWalker walker)
walker
- the JWalker that issued this Notification request.Method Detail |
---|
public java.lang.String getQuestion()
getQuestion
in class Question
public java.lang.String getContent()
getContent
in class Report
public JWalkException getException()
public Urgency getUrgency()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |