From b8bc46d2994f9477ac6f7963811ed7fae0b9af84 Mon Sep 17 00:00:00 2001 From: Melanie Retter Date: Mon, 1 Aug 2016 15:34:00 +0200 Subject: [PATCH] Add JavaDoc Signed-off-by: Melanie Retter --- .../HawkbitErrorNotificationMessage.java | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/components/HawkbitErrorNotificationMessage.java b/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/components/HawkbitErrorNotificationMessage.java index e7199c04f..29bf822a8 100644 --- a/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/components/HawkbitErrorNotificationMessage.java +++ b/hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/components/HawkbitErrorNotificationMessage.java @@ -14,17 +14,24 @@ import com.vaadin.shared.Position; import com.vaadin.ui.Notification; /** - * Notification message component. + * Notification message component for displaying errors in the UI. */ public class HawkbitErrorNotificationMessage extends Notification { - /** - * ID. - */ private static final long serialVersionUID = -6512576924243195753L; /** - * Constructor. + * Constructor of HawkbitErrorNotificationMessage + * + * @param style + * style of the notification message + * @param caption + * caption of the notification message + * @param description + * text which is displayed in the notification + * @param autoClose + * boolean if notification is closed after random click (true) or + * closed by clicking on the notification (false) */ public HawkbitErrorNotificationMessage(final String style, final String caption, final String description, final boolean autoClose) {