Example usage for com.vaadin.ui Notification getDescription

List of usage examples for com.vaadin.ui Notification getDescription

Introduction

In this page you can find the example usage for com.vaadin.ui Notification getDescription.

Prototype

public String getDescription() 

Source Link

Document

Gets the description part of the notification message.

Usage

From source file:de.unioninvestment.eai.portal.support.vaadin.junit.NotificationMatcher.java

License:Apache License

@Override
public boolean matches(Object argument) {
    if (argument instanceof Notification) {
        Notification notification = (Notification) argument;
        if (Objects.equal(notification.getCaption(), caption)
                && Objects.equal(notification.getDescription(), description)) {
            return true;
        }// w w w  .j a  v  a  2s.  c o m
    }
    return false;
}